Add attributes to schema

Build 1501 on 14/Nov/2017  This topic last edited on: 21/Mar/2016, at 18:34

This topic explains on an example how to manage additional attributes of GN4 objects.

Note: The auto-compute doesn't work for the custom attributes, added in <objectname>Extra section. Instead to use an attribute, add it as an element.

Let's assume we want to add a new attribute myattr to the Page object.

Have in mind that attributes can be added as attributes, or as elements. Some guidelines can be found here: http://www.ibm.com/developerworks/xml/library/x-eleatt/index.html.

hmtoggle_plus1Modifying schema
hmtoggle_plus1Importing schema and resetting cache
hmtoggle_plus1Generic reading/writing
hmtoggle_plus1Enhanced reading/writing