Configuration of Index Data Display

enaio® appconnector 11.0 »

Showing Index Data

enaio® appconnector has two types of result output. First the verbose mode, which is activated at many endpoints via the query parameter verbose=true, and second the classic title/subtitle output. The latter output format creates a title and subtitle field in JSON from the index data fields of an object. The first mandatory field is selected as the title and the second and third mandatory fields as subtitles using the tab order. If the exact mandatory fields do not exist, further normal index data fields of the object are used.

The Configuration File OSMetadata.xml

If this automatic operation is not desired, the OSMetadata.xml configuration file in the configuration\schema program directory can be used by the administrator to specify a fixed schema for all users for the desired object types. The title and subtitle outputs are used by the enaio® apps to display hit lists.

The OSMetadata.xml file is installed by the setup and can be found in the configuration\schema directory. You will need to adjust the file as the OSMetadata.xml configuration file contains sample data by default.

The fields 'title' and 'info' are defined in the <model> area and shown in the enaio® apps and can be filled with the index data of enaio® object types.

The tag <cabinet name="Name of the cabinet"> is then entered for every cabinet in the configuration file. Within this tag, index data fields are mapped for the individual object types (<object name="Name of the object">). For this purpose, the name of the field is defined in the <property> tag in the name attribute, and the index data from enaio® are referenced in the field attribute. It is possible to freely configure the values of different index data fields using a special script language (see 'Configuration Scripts').

Typeless documents are defined by the <typeless> tag. In this tag, the main type of the object (OBJECT_MAIN) and the creation date (OBJECT_CRDATE) are assigned to app fields.

Please note that only internal object type names of the object definition can be used to assign enaio® index data.