Copied to clipboard

Flag this post as spam?

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


  • Kevin 2 posts 72 karma points
    Oct 30, 2015 @ 11:52
    Kevin
    0

    NiceUrls

    I am using NiceUrls for my links.

    In code you can get a NiceUrl by

     var niceURL =  umbraco.library.NiceUrl(1234);
    

    But Is there a way to get the Id from a NiceUrl. Something like.

     var id= umbraco.library.GetIdFromNiceUrl("My-Great-Page");
    
Please Sign in or register to post replies

Write your reply to:

Draft