Details.AttachmentsDetail: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 56: Line 56:


       {{Template:XFRACAS.Blue|<Detail>}}
       {{Template:XFRACAS.Blue|<Detail>}}
         {{Template:XFRACAS.Blue|<DetailTypeID>}}{{Template:XFRACAS.Black|968}}{{Template:XFRACAS.Blue|</DetailTypeID>}}
         {{Template:XFRACAS.Blue|<DetailTypeID>}}{{Template:XFRACAS.Black|999}}{{Template:XFRACAS.Blue|</DetailTypeID>}}
         {{Template:XFRACAS.Blue|<DisplayOrder>}}{{Template:XFRACAS.Black|4}}{{Template:XFRACAS.Blue|</DisplayOrder>}}
         {{Template:XFRACAS.Blue|<DisplayOrder>}}{{Template:XFRACAS.Black|6}}{{Template:XFRACAS.Blue|</DisplayOrder>}}
         {{Template:XFRACAS.Blue|<DetailStep>}}{{Template:XFRACAS.Black|5}}{{Template:XFRACAS.Blue|</DetailStep>}}
         {{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|<DetailSpan>}}{{Template:XFRACAS.Black|Yes}}{{Template:XFRACAS.Blue|</DetailSpan>}}
         {{Template:XFRACAS.Blue|<DetailUIType>}}{{Template:XFRACAS.Black|TreeDetail}}{{Template:XFRACAS.Blue|</DetailUIType>}}
         {{Template:XFRACAS.Blue|<DetailUIType>}}{{Template:XFRACAS.Black|AttachmentsDetail}}{{Template:XFRACAS.Blue|</DetailUIType>}}
         {{Template:XFRACAS.Blue|<DetailName>}}{{Template:XFRACAS.Black|Example Tree}}{{Template:XFRACAS.Blue|</DetailName>}}
         {{Template:XFRACAS.Blue|<DetailName>}}{{Template:XFRACAS.Black|Example Attachments}}{{Template:XFRACAS.Blue|</DetailName>}}
         {{Template:XFRACAS.Blue|<'''Tree'''>}}
         {{Template:XFRACAS.Blue|<DetailAttachments>}}
           {{Template:XFRACAS.Blue|<TreeData>}}
           {{Template:XFRACAS.Blue|<DetailAttachment>}}
             {{Template:XFRACAS.Blue|<Code>}}{{Template:XFRACAS.Black|B1}}{{Template:XFRACAS.Blue|<Code>}}
             {{Template:XFRACAS.Blue|<AttachmentType>}}{{Template:XFRACAS.Black|URL Link}}{{Template:XFRACAS.Blue|<AttachmentType>}}
             {{Template:XFRACAS.Blue|<Description>}}{{Template:XFRACAS.Black|Branch 1}}{{Template:XFRACAS.Blue|<Description>}}
          {{Template:XFRACAS.Blue|<Relationship>}}
             {{Template:XFRACAS.Blue|<AttachmentTitle>}}{{Template:XFRACAS.Black|Example URL Link}}{{Template:XFRACAS.Blue|<AttachmentTitle>}}
         {{Template:XFRACAS.Blue|<'''Tree'''>}}
         {{Template:XFRACAS.Blue|<'''Tree'''>}}
           {{Template:XFRACAS.Blue|<TreeData>}}
           {{Template:XFRACAS.Blue|<TreeData>}}

Revision as of 22:07, 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>  999  </DetailTypeID> 
        <DisplayOrder>  6  </DisplayOrder> 
        <DetailStep>  5  </DetailStep> 
        <DetailSpan>  Yes  </DetailSpan> 
        <DetailUIType>  AttachmentsDetail  </DetailUIType> 
        <DetailName>  Example Attachments  </DetailName> 
        <DetailAttachments> 
           <DetailAttachment> 
            <AttachmentType>  URL Link  <AttachmentType> 
           <Relationship> 
            <AttachmentTitle>  Example URL Link  <AttachmentTitle> 
        <Tree> 
           <TreeData> 
              Pam   
            <Description>  User  <Description> 
           <TreeData> 
           <TreeData>   
              B2   
            <Description>  Branch 2  <Description> 
            <ChildItem>   
                NB1   
              <Description>  Nested Branch 1  <Description> 
            <ChildItem>  
         <TreeData>            
        <Tree> 
      </Detail