Skip to main content

Data Files

In the file datafiles.xml the alias DATAFILE must be defined and have the value $CACHE/../products.xml.

datafiles.xml

This is a comet XML project file which defines links to files or folders to be used in the placeholders

In the configuration file we have two mandatory entries, one for products.xml one for images. You must not modify these entries. The priint:cloud pdf renderer worker copies the product.xml file into the $CACHE/../products.xml file.

/datafiles.xml
<datafiles>
<datafile>
<id>0</id>
<path/>
<alias/>
<description>no</description>
<enabled>0</enabled>
</datafile>
<datafile>
<id>1</id>
<path>$CACHE/../products.xml</path> <!-- DO NOT CHANGE IT! -->
<alias>DATAFILE</alias>
<description>content system data</description>
<enabled>1</enabled>
</datafile>
<datafile>
<id>3</id>
<path>$COMETDATA/images</path>
<alias>IMAGES</alias>
<description>images folder</description>
<enabled>1</enabled>
</datafile>
</datafiles>
warning

If you change the DATAFILE entry the comet_pdf not be able to render any PDF file.

If you change the IMAGES entry standard script libraries will probably not work anymore. So it is highly recommended to NOT change this value.

In any case you should prevent usage of any other locations e.g. from your local volumes like Desktop, because those folders are not available on priint:cloud.

note

To configure product templates locally, we use Adobe InDesign with comet plug-ins. In this case, the $CACHE folder calculated by comet can be found in your Documents folder, e.g. on Mac it looks like /Users/suedoe/Documents/XCache.

During configuration on your local computer, you must copy your products.xml to this folder. This is not convenient when working with many concurrent projects.