Named Data Template

From wiki.fine.cz
Jump to navigation Jump to search

Named Data Template defines input of data for various items, e. g. field test, etc.

Template XML definition

Template consists of individual items of various types, documented in detail in Named Data.

Property XML Description Presence Default Version
GUID [A] STRING GUID GUID of the Template required
Preference of Ident [A] BOOL PreferIdent Use Identifier in input labels if specified, otherwise use Name optional false
Name specification [A] ENUM NameSpecial Specification of a name data special type optional if not specified, the first data type string 2024
Template name [E] Name Template Name, used in multi templates oprional empty
Item [:E:] Item List of named data types required


Example of template XML

<Template GUID="{2BBF3527-B079-423B-9A34-AC5666693C36}" PreferIdent="false">

<Name Lang="CS" Text="Vrt" />

  <Item ID="{F12017FC-9AF4-4866-9FC2-BE7CF40B1A67}" ItemType="String">

    <Name Lang="CS" Text="Název zkoušky" />

    <Settings />

  </Item>

  <Item ..... />

  <Item ..... />

  <Item ..... />

</Template>