London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

Custom Simple Address to a page

Vote:
 

I am creating a custom page programatically, I need to assign certian values to the page attributes. One of which is to assign a custom value to Simple Adress property of the page. How can I achieve this programatically.

#188612
Feb 27, 2018 22:24
Vote:
 

I think you can set it via PageData.ExternalUrl https://world.episerver.com/documentation/class-library/?documentId=cms/7/a4836c71-120f-e573-b47b-46d4c740c5dc 

or content.Property[MetaDataProperties.PageExternalURL] 

#188613
Feb 27, 2018 23:08
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.