Try our conversational search powered by Generative AI!

How to rename a property after use


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; }



Oct 23, 2013 17:56
Oct 24, 2013 9:23

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

Oct 24, 2013 9:35

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.

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.
* 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.