You are here:
Create a List Merge Example with Dynamic Output Fields
The final Integration Procedure is a modified version of the previous example. It uses
Dynamic Output Fields to eliminate the duplicate FN and LN JSON nodes from
the output.
If you’re using the designer on a managed package, you can download a data pack of this example from here.
- Create an Advanced List Merge Example.
-
In the List Action, give the Dynamic Output Fields setting
a value of
include. - Go to the Preview tab.
- Click Edit as JSON. If you’re using the designer on a managed package, click Preview, and then click Edit as JSON.
-
Click Add New Key-Value Pair. Enter
includeas the key, andbirthdate,street,state,city,lastName,firstName,idas the value. Only commas, and not spaces, separate the node names. -
Click Execute. The output is similar to this example:
{ "contactMerge": [ { "birthdate": "1975-10-03", "street": "300 Broadway", "state": "FL", "city": "Orlando", "lastName": "Jones", "id": "0036100001E5xrWAAR", "firstName": "Cathy" }, { "birthdate": "1976-10-04", "street": "400 Washington Blvd", "state": "AZ", "city": "Phoenix", "lastName": "Jones", "id": "0036100001E5xrvAAB", "firstName": "Doug" }, { "birthdate": "1973-10-01", "street": "100 Main Street", "state": "CA", "city": "San Francisco", "lastName": "Smith", "id": "0036100001E5xqnAAB", "firstName": "Albert" }, { "birthdate": "1974-10-02", "street": "200 Second Street", "state": "OR", "city": "Portland", "lastName": "Smith", "id": "0036100001E5xr2AAB", "firstName": "Ben" } ] }
