Copied to clipboard

Flag this post as spam?

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


  • Thomsen 113 posts 336 karma points
    Feb 20, 2021 @ 23:47
    Thomsen
    0

    Use Multi Url Picker in macro as a parameter

    Hi

    Does anyone know how to add the Multi Url Picker to the available property editors when defining macro parameters?

    I found out how to add the RTE as a macro parameter reading this post here:

    https://our.umbraco.com/forum/templates-partial-views-and-macros/82089-tinymce-as-macro-parameter

    Does anyone have a similar guide or snippet for adding the Multi Url Picker - that would be highly appreciated :-)

    Kind regards.

  • Marc Goodson 2155 posts 14408 karma points MVP 9x c-trib
    Feb 21, 2021 @ 08:01
    Marc Goodson
    100

    Hi Thomsen

    There was a bug with using the same trick to add a Multi Url Picker as a Macro Picker, which was pulled in to be fixed in v8.7 so if you are on an eariler version than 8.7 this won't work.

    But if you are greater than 8.7 - you can see an example on the PR that fixed the issue:

    https://github.com/umbraco/Umbraco-CMS/pull/8144

    Hope that's enough of a steer for you to get it working.

    regards

    Marc

  • Thomsen 113 posts 336 karma points
    Feb 21, 2021 @ 12:25
    Thomsen
    0

    Thank you Marc, I'm in the latest v8 so I will give it a try this evening 👍🏻

  • Thomsen 113 posts 336 karma points
    Mar 08, 2021 @ 15:02
    Thomsen
    0
    • Thank you Marc, the example in your link worked!
Please Sign in or register to post replies

Write your reply to:

Draft