Copied to clipboard

Flag this post as spam?

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


  • Thomas Beckert 176 posts 441 karma points
    Feb 04, 2015 @ 13:06
    Thomas Beckert
    0

    Related Links - get Node to internal Link

    Hi,

    I'm using the Datatype related links in umbraco 7.

    With item.Url (when I iterate the list), I directly get the nice url.
    But I also need to have a look into the node, related to that nice url.
    So how can I achieve this? GetNodeByUrl / GetNodeByName? I didn't find this function in V7, but I'm sure they hide somewhere... please help. :)

  • Dennis Aaen 4457 posts 17970 karma points admin hq c-trib
    Feb 04, 2015 @ 13:14
    Dennis Aaen
    100

    Hi Thomas,

    Did you see the documentation for the related links property editor. You can find it here: http://our.umbraco.org/documentation/Using-Umbraco/Backoffice-Overview/Property-Editors/Built-in-Property-Editors-v7/Related-Links

    Hope this helps,

    /Dennis

  • Thomas Beckert 176 posts 441 karma points
    Feb 04, 2015 @ 13:22
    Thomas Beckert
    0

    There it was.

    @item.Value<int>("internal") did the job.

    Thank you for the quick support!

  • Dennis Aaen 4457 posts 17970 karma points admin hq c-trib
    Feb 04, 2015 @ 13:25
    Dennis Aaen
    0

    Hi Thomas,

    You´re welcome. Great that I could help you to get on the track to find how to do it.

    /Dennis

  • 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