Try our conversational search powered by Generative AI!

Long string property

Vote:
 

Hi,

If I create a page property in admin mode with the type "Long string" it displays as the "Short string" property in the form edit view.

I have migrated from CMS 6 to CMS 7.1 and don't have any page types defined in code.

Is this a bug or not? In case it's not a bug, how do I solve it?

#71515
May 21, 2013 15:01
Vote:
 

Add a custom property type that just inherits from PropertyLongString and add an EditorHint attribute:

    [PropertyDefinitionTypePlugIn]
    [EditorHint("textarea")]
    public class LegacyLongString : PropertyLongString
    {
    }


Then you can add properties of this type.

#71519
May 21, 2013 15:24
Vote:
 

Thanks

#71524
May 21, 2013 16:57
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.