Details.AttachmentsDetail: 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 8: Line 8:
:  <DetailUIType />
:  <DetailUIType />
:  <DetailName />
:  <DetailName />
:  <Tree>
:  <DetailAttachments>
::  <'''TreeData'''>
::  <'''AttachmentType'''>
:::  <Code/>
:::  <Relationship />
:::  <Description/>
:::  <AttachmentTitle />
:::  <ChildItem/>
:::  <AttachmentDescription />
::::  <Code/>
:::  <FileName />
::::  <Description/>
:::  <RelatedID />
:::  <ChildItem/>
::  <DetailAttachment/>
:::  <ChildItem/>
:  <DetailAttachments/>
::  <'''TreeData'''>
:  <Tree>
</Detail>
</Detail>



Revision as of 19:56, 7 October 2013

XML Element

<Detail>

<DetailTypeID />
<DisplayOrder />
<DetailStep />
<DetailSpan />
<DetailUIType />
<DetailName />
<DetailAttachments>
<AttachmentType>
<Relationship />
<AttachmentTitle />
<AttachmentDescription />
<FileName />
<RelatedID />
<DetailAttachment/>
<DetailAttachments/>

</Detail>



Description

  • The AttachmentType element is required. It must match an existing attachment type.
Attachment Types:
Uploaded File
URL Link
XFRACAS
Text
  • The Relationship (String) element is optional. If present the value must match an existing issue description with an issue type of “Attachment - Record Association Type”. Below are the standard relationship types.
Relationships:
Master
Sub
Superceeding
Superceeded
Amending
Amended
  • The AttachmentTitle (String) element is optional.
  • The AttachmentDescription (String) element is optional.
  • The FileName element is required for attachment type URL Link and not importedfor all other attachment types.
  • The RelatedId element is optional. If present the value must match an existing item of the same type as the AttachmentType.



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