Adding attribute to ItemType


Just adding some basic steps to help remember what I did for adding a new attribute to an existing ItemType.


  1. Add the attribute in the attributes list of the itemtype in the SOMETHING-items.xml.
  2. Add the name and description properties to the SOMETHING-locales_en.properties
  3. Add property to wizardConfig_COMPONENTNAME.xml . You may need to add it to other xml files like the editorArea_ or contentEditor_ .
  4. Update any impex related to itemtype.
  5. Run "ant clean all"
  6. Start Hybris
  7. Run Update all in HAC
Will need to run lots of tests. Be sure to check search works for new attribute.

Comments

Popular Posts