An attribute editor specifies how data is entered for an attribute when that attribute is displayed on a New or Edit form for a flex asset or a flex parent asset in the WebCenter Sites interface on the management system. WCS, by default, defines attribute editors for each data type and used when there is no specific Attribute editor defined against the Attribute.
While carrying out asset modelling, it is good to define kind of attribute editor against each attribute. Right attribute editors could enhance the content authoring experience a great extend. Few examples to expand on the point:
- An attribute store email address: We mostly will define data type as String and will leave it to default attribute editor. But if we could define a new Attribute editor which does all the validations for email address, it will benefit both content authors as well as developers. Content authors will not be allowed to enter wrong content and developers do not need to worry of extra checks in the template
- An att