Copied to clipboard

Flag this post as spam?

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


  • Tommy Albinsson 121 posts 254 karma points
    Nov 09, 2013 @ 18:44
    Tommy Albinsson
    0

    Get url of node using ContentService and outside the UmbracoContext.

    Hi,

    Is it possible to get/figure the url path of a node when using ContentService and outside the UmbracoContext, say from a console application?

    I am using Mortens console application example of running outside the UmbracoContext.

    Thanks!

  • Tom 713 posts 954 karma points
    Jan 23, 2014 @ 23:40
    Tom
    0

    Anyone have any ideas for this one?

  • Tom 713 posts 954 karma points
    Mar 19, 2014 @ 22:48
    Tom
    0

    Anyone? getting a url should be easier!?

  • Charles Afford 1163 posts 1709 karma points
    Mar 23, 2014 @ 20:14
    Charles Afford
    0

    Hey Tom see http://our.umbraco.org/forum/developers/api-questions/48886-Getting-the-url-for-an-IContent-object

    Basically you need the contentCache or an IPublishedContent item that is what the url is attached to. :)

    Charlie

  • 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