To allow a new article element, you need to defined it in the schema, and also add it to the list.
Locate the following comment in the schema file: <!-- =========================================================================== Text types They are object types derived from 'txt' =========================================================================== --> Add article elements definitions below it. |
<xs:element name="strap"> <xs:complexType> <xs:annotation> <xs:appinfo> <gs:_objectType deadlineGap="0" nameptt="&a,str" typeLink="single" mediaType="Text"> <description>Strap</description> </gs:_objectType> </xs:appinfo> </xs:annotation> <xs:complexContent> <xs:extension base="txt"> <xs:sequence> <xs:element name="xmlText" minOccurs="0" gs:storage="Ignore"> <xs:annotation> <xs:documentation>Text XML structure. Not stored in the database</xs:documentation> </xs:annotation> <xs:complexType> <xs:sequence> <xs:element name="br" type="br" minOccurs="0" maxOccurs="unbounded"/> <xs:element name="p" type="p" minOccurs="0" maxOccurs="unbounded"/> </xs:sequence> </xs:complexType> </xs:element> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType> </xs:element> Find other examples in the GN4.XSD schema. |
It could be: nameptt="&a,by&n[1,2]" or: nameptt="&a,str" |
It is typically 'single' for linkable elements and 'no' for Web and other channels elements. |