AI OnAI Off
var urlResolver = ServiceLocator.Current.GetInstance();
var pageUrl = urlResolver.GetUrl(YouContentLink);
var uriBuilder = new UriBuilder(SiteDefinition.Current.SiteUrl);
uriBuilder.Path = pageUrl;
uriBuilder.ToString();
Something like this?
Hi!
I have a catalog node (category node) in commerce that i want to generate a firendly url to. I want to use the string saved on the Url property. How is that done?