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 6150 posts 24110 karma points MVP 8x admin c-trib
    Nov 08, 2017 @ 14:58
    Alex Skrypnyk
    100

    Hi Manish

    var url = library.NiceUrl(item.Id);
    
Please Sign in or register to post replies

Write your reply to:

Draft