cancel
Showing results for 
Search instead for 
Did you mean: 

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

SL12345
New Contributor III

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

1 ACCEPTED SOLUTION

pmancevski
New Contributor III

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.

View solution in original post

2 REPLIES 2

pmancevski
New Contributor III

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.

koryknick
Employee
Employee

@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.