AI OnAI Off
If you look at the the property in admin mode, is it set to a property url? Looks like it is set to a PageReference.
PageTypeBuilder will not update the type of a property if you change it in code, that has to be done in the admin area.
Hi,
I am using episerver cms 6 R2 edition. I'm looking for a property to hold internal (links to pages in CMS) and external url (external websites...).
I tried "propertyUrl" like the following.
When I'm access the property like this, getting error - Unable to cast object of type 'EPiServer.Core.PageReference' to type 'System.String'.