Is it possible to edit JSON in JSON generator via metadata snaps?

Hi Snaplogic experts, is it possible to edit/change values in JSON generator via metadata snaps?

Lets say i have these values:
image

and i want to change it in running pipeline via metadata snap to this:

image

is it technically possible in snaplogic? thank you

Hi @SL12345,

I’m not sure about metadata snaps, but you can substitute the variables in the JSON with document values from the input view of the Snap. In another words it can be used to pass dynamic values from upstream Snaps.

Check https://docs-snaplogic.atlassian.net/wiki/spaces/SD/pages/1438291/JSON+Generator

Thanks,
Pero M.

1 Like

@SL12345 - yes it is technically possible to alter the JSON Generator text using the SnapLogic Metadata snaps.

However, as @pmancevski states, you can pass dynamic values into the snap.