Copied to clipboard

Flag this post as spam?

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


  • Sebastian Dammark 583 posts 1407 karma points
    Oct 06, 2015 @ 08:03
    Sebastian Dammark
    0

    How to use the Url Picker Name as a Label template ?

    I don't even know it is possible, but can I use the Name property of an url picker as a label template in, let's say Archetype ?

    I've tried with {{link}} and {{link.Name}} but no luck.

    enter image description here

  • Bjarne Fyrstenborg 1286 posts 4060 karma points MVP 8x c-trib
    Oct 06, 2015 @ 14:02
    Bjarne Fyrstenborg
    0

    Hi Sebastian

    You can't use e.g. {{link}} because the scope contains a property link, which value is the node id you have selected.

    But you can create a javascript file to look-up the entity by id/value and registre the javascript file via a package.manifest file.

    Take a look at this: https://github.com/kgiszewski/ArchetypeManual/blob/master/02%20-%20Configuration.md#label-template

    /Bjarne

  • 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