Difference between revisions of "Named Data Template"

From wiki.fine.cz
Jump to navigation Jump to search
m
m
 
(2 intermediate revisions by the same user not shown)
Line 9: Line 9:
!Presence
!Presence
!Default
!Default
!Version
|-
|-
|GUID
|GUID
Line 14: Line 15:
|GUID of the Template
|GUID of the Template
|required
|required
|
|
|-
|-
|Preference of Ident
|Preference of Ident
Line 20: Line 23:
|optional
|optional
|<code>false</code>
|<code>false</code>
|
|-
|Name specification
|<sup>[[Legend of XML elements|[A]]]</sup> ENUM <code>NameSpecial</code>
|Specification of a name data [[Special named data types|special type]]
|optional
|if not specified, the first data type string
|2024
|-
|-
|Template name
|Template name
Line 26: Line 37:
|oprional
|oprional
|empty
|empty
|
|-
|-
|Item
|Item
Line 31: Line 43:
|List of named data types
|List of named data types
| required
| required
|
|
|
|}
|}

Latest revision as of 22:42, 3 October 2023

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>