Define root

<< Inhaltsverzeichnis anzeigen >>

Navigation:  Start > Install & Config > Open Order > Define the available technologies and resources > Define resources >

Define root

With a node entry (root), you define the topmost entry of a resource.

 

Example:

    <data>

      <root Id="6CE9B526-9FFD-46A5-9ED0-36FB4E1303B5" Name="Computer" TypeId="1" Merge="no">

        <resource Name="Desktop PCs" TypeId="3" Description="['en-US:Stationary PC','de-DE:Stationäre Arbeitsplatz-PCs']">

          <resource Name="Desktop-PC Einfach" TypeId="3" />

          <resource Name="Desktop-PC Standard" TypeId="3" />

          <resource Name="Desktop-PC konfigurierbar" TypeId="3" TemplateID="E3865726-6FDF-489E-A7D5-4ABBA5B2BF83" />

        </resource>

      </root>

    </data>

 

Id

Assign an ID to the top node. The ID must be unique within Open Order. Our recommendation: Use a GUID, e.g. from guidgen.com

 

 

Name

Assign an display name for the node.

 

 

TypeId

Specify the type of the top node.

 

 

Merge

Set the update behavior if you re-upload the XML configuration.

 

Merge="no"

An existing configuration of the same root ID is removed and replaced by the new upload.

 

Merge="yes"

For an existing root ID:

new entries (new name) will be added,

same entries (same name) will be added creating duplicates,

old entries will be kept.