Copied to clipboard

Flag this post as spam?

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


  • Braydie 148 posts 346 karma points
    Jul 02, 2013 @ 14:57
    Braydie
    0

    Getting a Url for a page with a node id - outside of Umbraco

    I am in the process of signposting a non-Umbraco site to an Umbraco site. I have access to the Umbraco database and need to turn a series of node ids into urls. I am running Umbraco 4.7.2

    Thanks!

     

  • Comment author was deleted

    Jul 02, 2013 @ 15:00

    Take a look at the nice url method that take in an id and returns the url

    http://our.umbraco.org/wiki/reference/umbracolibrary/niceurl

  • Braydie 148 posts 346 karma points
    Jul 02, 2013 @ 17:18
    Braydie
    1

    Hi Tim,

    Thanks for your reply. My post may have been a little ambiguous - I meant that my list of node ids was being retrieved by the non-Umbraco site. I have found a way to do this though - I've created an umbraco base method that takes in an Id and calls umbraco.library.NiceUrl and just returns the Url as a string which appears to work as I had hoped.

    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