Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Tim 1193 posts 2655 karma points c-trib
    Jul 28, 2010 @ 22:47
    Tim
    0

    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!

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies