Access data from a nested group when using "group[]" type

Is there a way to access the data in a nested group within a group[] type using {{dc:looper:field key=’’}}?

In my example, I would want to access product : productName with {{dc:looper:field key=’’}} in a text field using the below parameter setup (this is only a partial piece of my parameter json:
{
“listItems” : {
“type” : “group[]”,
“label” : “List Items”,
“itemLabel” : “{{index}}. {{setup}}”,
“params” : {
“setup” : {
“type” : “group”,
“label” : “Setup”,
“noPicker” : true,
“params” : {
“backgroundimage” : {
“label” : “Background”,
“type” : “image”,
“initial” : “”,
“height” : 2
},
“sideselector” : {
“type” : “select”,
“label” : “Layout”,
“initial” : “Left”,
“options” : [
{ “value” : “rightHide”, “label” : “Left” },
{ “value” : “leftHide”, “label” : “Right” }
]
},
“cellBackground” : {
“label” : “Cell Background Color”,
“type” : “color”,
“initial” : “#000000
}
}
},
“product” : {
“type” : “group”,
“label” : “Product Information”,
“noPicker” : true,
“params” : {
“productName” : {
“type” : “text”,
“label” : “Product Name”,
“initial” : “Product Name”
},
“productHeadline” : {
“type” : “text”,
“label” : “Product Headline”,
“initial” : “”
},
“productHeadText” : {
“type” : “text”,
“label” : “Product Introduction”,
“initial” : “”,
“height” : 1,
“expandable” : false
}
}
},

If you are accessing an object property your going to use dot syntax. Let me know if that helped I think I understood you correctly. Have a great day.

{{dc:looper:field key=’product.productName’}}

Thanks! That was the missing part.

Hi David,

Glad that we are able to help you.

Thanks

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.