Copied to clipboard

Flag this post as spam?

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


  • Manish 373 posts 932 karma points
    Nov 08, 2017 @ 09:18
    Manish
    0

    IContent content = ApplicationContext.Current.Services.ContentService.GetById(item.Id);

    Is there any way to get url of the page

    by

    IContent content = ApplicationContext.Current.Services.ContentService.GetById(item.Id);
    

    as Umbraco.TypedContentAtRoot() is not working

  • Alex Skrypnyk 6182 posts 24284 karma points MVP 8x admin c-trib
    Nov 08, 2017 @ 14:58
    Alex Skrypnyk
    100

    Hi Manish

    var url = library.NiceUrl(item.Id);
    
  • 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