November Happy Hour will be moved to Thursday December 5th.
AI OnAI Off
November Happy Hour will be moved to Thursday December 5th.
ok, found another way,
In the repeater i replaced
NavigateUrl='<%# DataBinder.Eval(Container.DataItem, "LinkURL") %>'
with
NavigateUrl='<%# EPiServer.Web.Routing.UrlResolver.Current.GetUrl(Container.DataItem as EPiServer.Core.IContent) %>'
And in my Contentprovider i Do NOT use ConstructContentUri and is setting mirrored.LinkURL = "";
Accually when i was faking mirrored.LinkUrl = "/link/" + mirrored.ContentGuid.ToString().ToLower().Replace("-", "") + ".aspx"; same as usually ConstructContentUri was returned IT DID LOOP. So my conclusion was that ConstructContentUri is not saving on the right place or not to be used in the case you use CreateWritableClone:
var mirrored = original.CreateWritableClone()
Upgrade from CMS 7.19.2 to 8.10
Scenario: In ContentProvider, i mirror a news article to another place on the site, i want to change the Url (LinkUrl):
It is not possible any longer to set (mirrored).LinkURL = base.ConstructContentUri(mirrored.ContentTypeID, mirrored.ContentLink, mirrored.ContentGuid).ToString();
It does an eternal loop (read down to up) it always reloading "LoadContent"-method in contentprovider.
Any ideas why? Something has changed, maybe caused to the Classic link being removed?