Details.TreeDetail: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
(Created page with '{{Template:XFRACAS.XML.Import.Doc.Class|Details|Details}} ===XML Element=== <Detail> : <DetailTypeID /> : <DisplayOrder /> : <DetailStep /> : <DetailSpan /> : <DetailUIType …')
 
No edit summary
Line 45: Line 45:
         {{Template:XFRACAS.Blue|<'''Tree'''>}}
         {{Template:XFRACAS.Blue|<'''Tree'''>}}
           {{Template:XFRACAS.Blue|<TreeData>}}
           {{Template:XFRACAS.Blue|<TreeData>}}
             {{Template:XFRACAS.Blue|<Code>}}{{Template:XFRACAS.Black|Pam}}{{Template:XFRACAS.Blue|<Code>}}
             {{Template:XFRACAS.Blue|<Code>}}{{Template:XFRACAS.Black|B1}}{{Template:XFRACAS.Blue|<Code>}}
             {{Template:XFRACAS.Blue|<Description>}}{{Template:XFRACAS.Black|User}}{{Template:XFRACAS.Blue|<Description>}}
             {{Template:XFRACAS.Blue|<Description>}}{{Template:XFRACAS.Black|Branch 1}}{{Template:XFRACAS.Blue|<Description>}}
         {{Template:XFRACAS.Blue|<'''Tree'''>}}
         {{Template:XFRACAS.Blue|<'''Tree'''>}}
           {{Template:XFRACAS.Blue|<TreeData>}}
           {{Template:XFRACAS.Blue|<TreeData>}}
Line 53: Line 53:
           {{Template:XFRACAS.Blue|<TreeData>}}
           {{Template:XFRACAS.Blue|<TreeData>}}
           {{Template:XFRACAS.Blue|<TreeData>}}   
           {{Template:XFRACAS.Blue|<TreeData>}}   
             {{Template:XFRACAS.Blue|<Code>}}{{Template:XFRACAS.Black|Pam}}{{Template:XFRACAS.Blue|<Code>}}
             {{Template:XFRACAS.Blue|<Code>}}{{Template:XFRACAS.Black|B2}}{{Template:XFRACAS.Blue|<Code>}}
             {{Template:XFRACAS.Blue|<Description>}}{{Template:XFRACAS.Black|User}}{{Template:XFRACAS.Blue|<Description>}}
             {{Template:XFRACAS.Blue|<Description>}}{{Template:XFRACAS.Black|Branch 2}}{{Template:XFRACAS.Blue|<Description>}}
             {{Template:XFRACAS.Blue|<ChildItem>}}   
             {{Template:XFRACAS.Blue|<ChildItem>}}   
               {{Template:XFRACAS.Blue|<Code>}}{{Template:XFRACAS.Black|Pam}}{{Template:XFRACAS.Blue|<Code>}}
               {{Template:XFRACAS.Blue|<Code>}}{{Template:XFRACAS.Black|NB1}}{{Template:XFRACAS.Blue|<Code>}}
               {{Template:XFRACAS.Blue|<Description>}}{{Template:XFRACAS.Black|User}}{{Template:XFRACAS.Blue|<Description>}}
               {{Template:XFRACAS.Blue|<Description>}}{{Template:XFRACAS.Black|Nested Branch 1}}{{Template:XFRACAS.Blue|<Description>}}
             {{Template:XFRACAS.Blue|<ChildItem>}}  
             {{Template:XFRACAS.Blue|<ChildItem>}}  
         {{Template:XFRACAS.Blue|<TreeData>}}           
         {{Template:XFRACAS.Blue|<TreeData>}}           
         {{Template:XFRACAS.Blue|<'''Tree'''>}}
         {{Template:XFRACAS.Blue|<'''Tree'''>}}
       {{Template:XFRACAS.Blue|</Detail}}
       {{Template:XFRACAS.Blue|</Detail}}

Revision as of 19:34, 7 October 2013

XML Element

<Detail>

<DetailTypeID />
<DisplayOrder />
<DetailStep />
<DetailSpan />
<DetailUIType />
<DetailName />
<Tree>
<TreeData>
<Description/>
<ChildItem/>
<Description/>
<ChildItem/>
<ChildItem/>
<TreeData>
<Tree>

</Detail>



Description

  • The TreeData element is required. It must contain a Code and Description element that match an existing issue. May have optional ChildItem element.
  • 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 element can 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