How to rename a property after use

Vote:
 

Is there a easy way of renaming a property on a pagetype. The property is in use, so I can not delete it and create a new one. There should have been a GUID or propertydefinitiontypeattribute that took a ID property like this

[PropertyDefinition(ID = 576)]
public virtual XhtmlString Body { get; set; }

Old property
public virtual XhtmlString MainBody { get; set; }

 

 

#76390
Oct 23, 2013 17:56
Vote:
 
#76410
Oct 24, 2013 9:23
Vote:
 

Johan: How would you do a rename of a property that is defined in a baseclass and therefore exists on all pagetypes?

#76413
Oct 24, 2013 9:35
Vote:
 

Per: The migration API is unfortunately very limited so in your case I'm afraid that you would need to specify each concrete page type and change the same property on each of them.

#76414
Edited, Oct 24, 2013 9:43
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.