Copied to clipboard

Flag this post as spam?

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


  • Carlos Mosqueda 244 posts 435 karma points
    Mar 16, 2020 @ 22:48
    Carlos Mosqueda
    0

    How do you get IPublishedElement URL?

    I have nested content in which I use the IPublishedElement

    https://our.umbraco.com/documentation/getting-started/backoffice/property-editors/built-in-property-editors/Nested-Content/

    How to I get the element's URL?

  • Nik 1625 posts 7295 karma points MVP 7x c-trib
    Mar 16, 2020 @ 23:08
    Nik
    100

    Hi Carlos,

    iPublishedElements don't have a URL so there isn't one to get I'm afraid.

    Nik

  • Carlos Mosqueda 244 posts 435 karma points
    Mar 17, 2020 @ 00:18
    Carlos Mosqueda
    0

    You are absolutely right. I was using the wrong code.

    My list was a list of Multinode tree picker, inside of the NestedContent.

    Silly mistake. Got confused switching back and forth.

    Thanks

  • 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