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 185 posts 277 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 1413 posts 6212 karma points MVP 3x 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 185 posts 277 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