Am I right in thinking that you can't pass a page field that contains XML (eg Tribal Relations, Repeatable Content) as a parameter to a Macro?
All my research so far points to the answer being no. If I pass such a page property to the macro, either directly, using [#propertyName] or recursively, via [$propertyName], then the value is blank.
Has anyone found a way round this? I have a Tribal Relations DataType containing sidebar boxes, that I want to get recursively (so if a page has none selected, it'll look at its parents until it finds one that has). I could do this in the Macro using XSLT I guess, but it would be nice if I could just pass it in!
Passing XML Fields into Macros
Hi,
Am I right in thinking that you can't pass a page field that contains XML (eg Tribal Relations, Repeatable Content) as a parameter to a Macro?
All my research so far points to the answer being no. If I pass such a page property to the macro, either directly, using [#propertyName] or recursively, via [$propertyName], then the value is blank.
Has anyone found a way round this? I have a Tribal Relations DataType containing sidebar boxes, that I want to get recursively (so if a page has none selected, it'll look at its parents until it finds one that has). I could do this in the Macro using XSLT I guess, but it would be nice if I could just pass it in!
Any help greatly appreciated!
is working on a reply...