Data

Data


Purpose and use

This document function can be used to transfer properties via the
primedocs Connect interface by defining a schema using this function.

Basic structure

<DataConfiguration> <Schema> <Text Id="MyTestValue" /> <Object Id="TestObject"> <Schema> <Text Id="TestValueInTestObject" /> </Schema> </Object> <ObjectCollection Id="TestObjectCollection"> <Schema> <Text Id="TestValueInTestObjectCollection" /> </Schema> </ObjectCollection> </Schema> <!-- Optional: <GlobalSchema Key="GlobalKey" /> --> </DataConfiguration>

Schema / GlobalSchema

This function uses the schema element to define which data can be transmitted via the interface.
The elements defined here can then be stored in the respective template. The schema can also be stored at Global Configurations via <GlobalSchema Key="..." />.

The Schema or GlobalSchema can then define these types:

Text

Texts can be received via the Text-element.

Object

If you want to group several elements, an element of the Object type is suitable. Text elements can then be found below the Object.

ObjectCollection

If you want to receive a list of data, use the ObjectCollection element, which in turn contains Text-elements.

PrimeSoft AG, Bahnhofstrasse 4, 8360 Eschlikon, Switzerland