Expand my Community achievements bar.

We are excited to introduce our latest innovation to enhance the Adobe Campaign user experience — the Adobe Campaign v8 Web User Interface!
SOLVED

JSON Object in Adobe Campaign Standard

Avatar

Level 4

All, 

 

I've been asked by my client to create Object as part of the Event for a Trigger. When I tried to create it under Collection, the API preview shows that it's a List (Array) vs Object. 

 

 "shippingAddress":[
{
"shippedFName":"string50 #1",
"shippedLName":"string50 #1",
"shippedAddr1":"string100 #1",
"shippedAddr2":"string100 #1",
"shippedCity":"string100 #1",
"shippedState":"string10 #1",
"shippedCounty":"string100 #1",
"shippedPostalCode":"string25 #1",
"shippedCountry":"string50 #1"
},
{
"shippedFName":"string50 #2",
"shippedLName":"string50 #2",
"shippedAddr1":"string100 #2",
"shippedAddr2":"string100 #2",
"shippedCity":"string100 #2",
"shippedState":"string10 #2",
"shippedCounty":"string100 #2",
"shippedPostalCode":"string25 #2",
"shippedCountry":"string50 #2"
}
],

 

Is there a way to create the Shipping Address as an Object?

 

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

No.

You can either define attributes on ctx level or the collection element which defines an array.

Custom objects (with a single instance) can't be defined

View solution in original post

1 Reply

Avatar

Correct answer by
Employee Advisor

No.

You can either define attributes on ctx level or the collection element which defines an array.

Custom objects (with a single instance) can't be defined