Copied to clipboard

Flag this post as spam?

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


  • karen 186 posts 461 karma points
    Jan 15, 2010 @ 22:31
    karen
    0

    How do I restrict the macro parameter to a certain contentTree node list.

    The title pretty much explains it - I want to restrict the node selected when adding a macro to the content to a certain type.  A specific DocType would work, or a specific node (can select any node under it).

    Thank you.

  • Dirk De Grave 4537 posts 6006 karma points MVP 3x admin c-trib
    Jan 16, 2010 @ 00:21
    Dirk De Grave
    0

    You can't oob, but it should be possible to build a new macro parameter type that is similar to the current content picker datatype, but only shows nodes of a specific doc type.

    Bottom line, it can be done, you just have to put up your sleeves and get into vs.net. Richard has done a blog post on how to build a custom macro parameter type. Can be found here.

     

    Cheers,

    /Dirk

  • 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