MIGX: How to use [[+idx]] of outer getImageList call in nested call?

Hey there,
i’m nesting two getImageList calls. How can i use the [[+idx]] placeholder of the outer call inside the inner getImageList call?

You could pass the index as a property to the nested “getImageList” call.

E.g. if you use &outerIdx=`[[+idx]]`,


the custom property “outerIdx” should be available in the template “tplNestedMigx” as the placeholder [[+property.outerIdx]].

1 Like

Thanks @halftrainedharry – I didn’t know this needs to be prefixed by “property”.

This topic was automatically closed 2 days after discussion ended and a solution was marked. New replies are no longer allowed. You can open a new topic by clicking the link icon below the original post or solution and selecting “+ New Topic”.