Try our conversational search powered by Generative AI!

How do I programmically retrieve the "Name in URL" field?

Vote:
 

How do I programmically retrieve the "Name in URL" field for a given page?

#82873
Mar 20, 2014 18:56
Vote:
 

Hi Eric, you get the value from CurrentPage.UrlSegment, this can be done on the PageData object

#82874
Mar 20, 2014 20:51
Vote:
 

Thanks. This is what I used. page.Property["PageURLSegment"].Value.ToString();

#83105
Mar 25, 2014 21:56
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.