Details.TreeDetail: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
(Redirected page to XFRACAS XML Import Documentation)
 
Line 1: Line 1:
{{Template:XFRACAS.XML.Import.Doc.Class|Insert Details|Insert Details}}
#REDIRECT[[XFRACAS_XML_Import_Documentation]]
===XML Element===
<Detail>
:  <DetailTypeID />
:  <DisplayOrder />
:  <DetailStep />
:  <DetailSpan />
:  <DetailUIType />
:  <DetailName />
:  <'''Tree'''>
::  <'''TreeData'''>
:::  <Code/>
:::  <Description/>
:::  <ChildItem/>
::::  <Code/>
::::  <Description/>
:::  <ChildItem/>
:::  <ChildItem/>
::  <'''TreeData'''>
:  <'''Tree'''>
</Detail>
 
===Description===
* Tree Detail
* DetailUIType: TreeDetail
 
* The TreeData element is required. It must contain a Code and Description element that match an existing issue. If InsertDetailIssues import configuration is enabled and no existing Issue is matched, a new Issue will be inserted. May have optional ChildItem element. Each TreeData element respresents one row in the Tree Detail.
 
*  The optional ChildItem Element, if present, must contain a Code and Description element that matches an existing issue. It may contain a ChildItem element. ChildItem elements can be nested up to ten levels.
 
===Detail Sample===
 
      {{Template:XFRACAS.Blue|<Detail>}}
        {{Template:XFRACAS.Blue|<DetailTypeID>}}{{Template:XFRACAS.Black|968}}{{Template:XFRACAS.Blue|</DetailTypeID>}}
        {{Template:XFRACAS.Blue|<DisplayOrder>}}{{Template:XFRACAS.Black|4}}{{Template:XFRACAS.Blue|</DisplayOrder>}}
        {{Template:XFRACAS.Blue|<DetailStep>}}{{Template:XFRACAS.Black|5}}{{Template:XFRACAS.Blue|</DetailStep>}}
        {{Template:XFRACAS.Blue|<DetailSpan>}}{{Template:XFRACAS.Black|No}}{{Template:XFRACAS.Blue|</DetailSpan>}}
        {{Template:XFRACAS.Blue|<DetailUIType>}}{{Template:XFRACAS.Black|TreeDetail}}{{Template:XFRACAS.Blue|</DetailUIType>}}
        {{Template:XFRACAS.Blue|<DetailName>}}{{Template:XFRACAS.Black|Example Tree}}{{Template:XFRACAS.Blue|</DetailName>}}
        {{Template:XFRACAS.Blue|<'''Tree'''>}}
          {{Template:XFRACAS.Blue|<TreeData>}}
            {{Template:XFRACAS.Blue|<Code>}}{{Template:XFRACAS.Black|B1}}{{Template:XFRACAS.Blue|<Code>}}
            {{Template:XFRACAS.Blue|<Description>}}{{Template:XFRACAS.Black|Branch 1}}{{Template:XFRACAS.Blue|<Description>}}
        {{Template:XFRACAS.Blue|<'''Tree'''>}}
          {{Template:XFRACAS.Blue|<TreeData>}}
            {{Template:XFRACAS.Blue|<Code>}}{{Template:XFRACAS.Black|Pam}}{{Template:XFRACAS.Blue|<Code>}}
            {{Template:XFRACAS.Blue|<Description>}}{{Template:XFRACAS.Black|User}}{{Template:XFRACAS.Blue|<Description>}}
          {{Template:XFRACAS.Blue|<TreeData>}}
          {{Template:XFRACAS.Blue|<TreeData>}} 
            {{Template:XFRACAS.Blue|<Code>}}{{Template:XFRACAS.Black|B2}}{{Template:XFRACAS.Blue|<Code>}}
            {{Template:XFRACAS.Blue|<Description>}}{{Template:XFRACAS.Black|Branch 2}}{{Template:XFRACAS.Blue|<Description>}}
            {{Template:XFRACAS.Blue|<ChildItem>}} 
              {{Template:XFRACAS.Blue|<Code>}}{{Template:XFRACAS.Black|NB1}}{{Template:XFRACAS.Blue|<Code>}}
              {{Template:XFRACAS.Blue|<Description>}}{{Template:XFRACAS.Black|Nested Branch 1}}{{Template:XFRACAS.Blue|<Description>}}
            {{Template:XFRACAS.Blue|<ChildItem>}}
        {{Template:XFRACAS.Blue|<TreeData>}}         
        {{Template:XFRACAS.Blue|<'''Tree'''>}}
      {{Template:XFRACAS.Blue|</Detail}}

Latest revision as of 16:14, 28 July 2015