Try our conversational search powered by Generative AI!

Remaining url not working.

Vote:
 

With a link item collection, there is the option to specify the remaining url. We are having an issue displaying that url for links or even getting it to work.

The path looks like this when debugging locally "~/link/fae1e1539f3a41ac93919f4723f532c8.aspx?epsremainingpath=test2" but when we use either the url resolver or @Url.ContentUrl the remaining url is never used

Episerver.Cms version 11.3.3

#199034
Edited, Nov 13, 2018 22:34
Vote:
 

This works in 11.9.2:

Url.ContentUrl(new Url(linkItem.Href))
#199054
Nov 14, 2018 10:11
Vote:
 

You can also try:

Html.ContentLink(linkItem)
#199055
Nov 14, 2018 10:12
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.