Details.TreeDetail: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
Line 8: Line 8:
:  <DetailUIType />
:  <DetailUIType />
:  <DetailName />
:  <DetailName />
:  <Tree>
:  <'''Tree'''>
::  <'''TreeData'''>
::  <'''TreeData'''>
:::  <Code/>
:::  <Code/>
Line 18: Line 18:
:::  <ChildItem/>
:::  <ChildItem/>
::  <'''TreeData'''>
::  <'''TreeData'''>
:  <Tree>
:  <'''Tree'''>
</Detail>
</Detail>


===Description===
===Description===

Revision as of 17:14, 13 January 2015

XML Element

<Detail>

<DetailTypeID />
<DisplayOrder />
<DetailStep />
<DetailSpan />
<DetailUIType />
<DetailName />
<Tree>
<TreeData>
<Description/>
<ChildItem/>
<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

      <Detail> 
        <DetailTypeID>  968  </DetailTypeID> 
        <DisplayOrder>  4  </DisplayOrder> 
        <DetailStep>  5  </DetailStep> 
        <DetailSpan>  No  </DetailSpan> 
        <DetailUIType>  TreeDetail  </DetailUIType> 
        <DetailName>  Example Tree  </DetailName> 
        <Tree> 
           <TreeData> 
              B1   
            <Description>  Branch 1  <Description> 
        <Tree> 
           <TreeData> 
              Pam   
            <Description>  User  <Description> 
           <TreeData> 
           <TreeData>   
              B2   
            <Description>  Branch 2  <Description> 
            <ChildItem>   
                NB1   
              <Description>  Nested Branch 1  <Description> 
            <ChildItem>  
         <TreeData>            
        <Tree> 
      </Detail