Information Classification: External Restricted.
See https://www.chili-publish.com/security

PrivateData XML

Concept

When CHILI Editor (or other CHILI components) deserialize the document's XML, it is transformed to an in-memory object model, and it no longer preserves the original XML. Once the document is saved, this XML is again serialized based on that object model.

Items in the XML which aren't recognized are ignored. But of course you may want to store your own information in the document XML, for use in your own workflows (or through the JavaScript API).

For this purpose, you  can use the PrivateData object. "Private" being potentially misleading: it means private for you, not for CHILI :)

Any object inheriting from ?Document Object Model - DocumentBase (meaning all complex CHILI objects) have a "privateData" property which is maintained during deserialization / serialization of a document's XML

XML Structure

The following demonstrates applying privateData to the document object itself. Similarly, it could be applied to a page, a frame, a variable, a color, etc.:

<document width="210mm" height="297mm">
   <privateData>
      <item name="name1" id="FB2C7FE3-7082-8646-57E1-C21722D8026B" value="val1"/>
      <item name="name2" id="3AEFDBE1-8CEA-7979-C942-C21722D922EF" value="val2"/>
   </privateData>
</document>

All information on this page must be treated as External Restricted, or more strict. https://www.chili-publish.com/security