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!

merging multiple properties into one

Vote:
 

What is the best way to concatenate multiple properties into one when converting a page?

The old page type has multiple properties that we need to combine into one single property in the new target page type.  Is this possible?

Thanks!

#59830
Jun 29, 2012 17:39
Vote:
 

Sounds like you need to do it programatically... One option is to copy the correct value to a new property on the existing pages, save and then use the built-in convert pagetype funtion in Admin mode. Another would be iterate downwards and copy page by page to another page branch by code.

#59831
Jun 30, 2012 11:02
Vote:
 

Just do a straight conversion, mark the old ones  as not visible in edit mode and make a new custom property that combines both of the old ones if its not set by itself.

I would have done something like that I think.

#62004
Oct 09, 2012 19:49
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* 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.