November Happy Hour will be moved to Thursday December 5th.

Simple address for Page Provider pages?

Vote:
 

Hello,

does anyone how to make "simple adress" (page property "PageExternalURL") work for a page provider page? Just setting the property doen't seem to be enough. 

Any suggestions appreciated.

#50070
Apr 12, 2011 10:43
Vote:
 

Unfortunately Simple address is only working for pages in EPiServer database.

The suggested work around would be to hook up to event EPiServer.Global.UrlRewriteProvider.ConvertingToInternal

and in the event handler make a call to some own implemented method on your PageProvider with the Url (or the segments for the url). If the page provider recognies the urlsegment it should set the UrlInternal (on format like /templates/Page.aspx?id=4__providerKey&epslanguage=en) on the event argument and mark the argument with IsModified (to prevent further rewriting processing).

#50079
Apr 12, 2011 12:48
* 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.