Copied to clipboard

Flag this post as spam?

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

  • Emil Christiansen 66 posts 148 karma points
    Dec 05, 2011 @ 10:58
    Emil Christiansen

    Multiple Content Picker Macro Parameter Type


    I need to develop af Multiple Content Picker Macro Type, so i am able to pick multiple content nodes (like the uComponents Multi-Node Tree Picker).

    With the Content Picker Macro Type it is only possible to pick one node at a time.

    Do you think this is possible, and does anybody have any good ideas where to start/look?


  • Dirk De Grave 4541 posts 6021 karma points MVP 3x admin c-trib
    Dec 05, 2011 @ 21:30
    Dirk De Grave


    Basically it's simple, but yet no one has ever done something similar. Only thing that needs done is implement an interface IMacroGuiRendering... Richard has put up a sample on his blog for inspiration




  • Emil Christiansen 66 posts 148 karma points
    Dec 06, 2011 @ 08:38
    Emil Christiansen

    Hi Dirk


    Yes, i have read Richards blog post which helped me with the basics of creating a Custom Macro Parameter Type. I guess I have to dive deeper into implementing an IMacroGuiRendering interface if i am going to create a Multiple Content Picker Macro Type Paramter that works kinda like the Multi-Node Tree Picker from uComponents. Feel free to share your thoughts and/or good ideas. It would be much appreciated :)

    Thanks in advance.



  • Doug Clark 30 posts 52 karma points
    Jan 14, 2012 @ 22:27
    Doug Clark

    Hey Emil, did you ever find a solution to this? I have the same need and interested to learn from your experience.


  • Dennis Nyström 4 posts 54 karma points
    Jul 25, 2012 @ 17:22
    Dennis Nyström

    Hi folks!

    I too look for this feature, so please share if you'd got any further.

    I really don't get why there is a bunch of single content picker types shipped with Umbraco (contentAll, contentPicker, contentRandom(?!), contentSubs, contentTree), when they seems to be doing exactly the same thing...?

    I'll let you know if I develop a own multiple content picker type.



  • Matt Taylor 873 posts 2086 karma points
    May 08, 2013 @ 16:11
    Matt Taylor

    This would be handy for me too.

    I also question the difference between the "contentAll" and "contentPicker" types. Anyone know?

  • Troels Larsen 75 posts 280 karma points
    Jul 09, 2013 @ 15:59
    Troels Larsen

    hey matt the easy answer is :

    • contentPicker - the ID of the selected node as a single integer
    • contentRandom - the xml from a random node
    • contentTree - the xml of the selected node and its child nodes
    • contentType - the alias of a selected content type as a string
    • contentTypeMultiple - a comma separated list of selected content type aliases
Please Sign in or register to post replies

Write your reply to: