Try our conversational search powered by Generative AI!

How to create absolute url links with Url property?

Vote:
 

Hi

If I define url as "External link" in Url property then I want to access it as absolute url. But episerver tries to map this url to existing content.

For example, absolute url "http://fi.local/haku/?q=test" gets turned into internal link "/link/1bec57ba83f8450a88f5dfb6dcce4e4e.aspx?id=70&q=test&t=87&epslanguage=fi". And the worst part is that the url property doesn't show the additional parameters. 

How can I prevent episerver from trying to map "External links" to existing content? What class and dojo-widget is responsible for this component? Hopefully I can override the functionality and implement the fix my self.

#89335
Aug 13, 2014 15:10
Vote:
 

Hi Jouni,

This is a known bug and has been fixed in EPiServer.CMS.UI.Core 7.9.1:

http://world.episerver.com/Documentation/Release-Notes/?versionFilter=7.9.1&packageFilter=EPiServer.CMS.UI.Core

Upgrading to this or any later version should fix it.

/T

#89340
Aug 13, 2014 17:50
Vote:
 

This happens with 7.11.0 too. The one you posted is a different problem; this one has nothing to do with shortcuts, just the Url property. And the latest patches seem to break CheckBoxListEditor, so I'd rather stick with the old version (7.7.0) :)

The only solution I've found is to add an additional string property dedicated just for the absolute url. With Url property episerver will try to route the "external link"  to existing content after which it no longer is absolute url, and there is no way to intervene. 

#89341
Edited, Aug 13, 2014 18:12
Vote:
 

Jouni,

If you have it in 7.11.0 I suggest you create a support case and report the bug.

/T

#89342
Aug 13, 2014 18:46
* 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.