Details.AttachmentsDetail: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 73: Line 73:
           {{Template:XFRACAS.Blue|<DetailAttachment>}}
           {{Template:XFRACAS.Blue|<DetailAttachment>}}
             {{Template:XFRACAS.Blue|<AttachmentType>}}{{Template:XFRACAS.Black|Problem}}{{Template:XFRACAS.Blue|<AttachmentType>}}
             {{Template:XFRACAS.Blue|<AttachmentType>}}{{Template:XFRACAS.Black|Problem}}{{Template:XFRACAS.Blue|<AttachmentType>}}
             {{Template:XFRACAS.Blue|<DataSourceTypeID>}}{{Template:XFRACAS.Black|<20>}}{{Template:XFRACAS.Blue|<DataSourceTypeID>}}
             {{Template:XFRACAS.Blue|<DataSourceTypeID>}}{{Template:XFRACAS.Black|20}}{{Template:XFRACAS.Blue|<DataSourceTypeID>}}
             {{Template:XFRACAS.Blue|<Relationship>}}{{Template:XFRACAS.Black|<Sub>}}{{Template:XFRACAS.Blue|<Relationship>}}
             {{Template:XFRACAS.Blue|<Relationship>}}{{Template:XFRACAS.Black|<Sub>}}{{Template:XFRACAS.Blue|<Relationship>}}
             {{Template:XFRACAS.Blue|<AttachmentTitle>}}{{Template:XFRACAS.Black|Example XFRACAS link}}{{Template:XFRACAS.Blue|<AttachmentTitle>}}
             {{Template:XFRACAS.Blue|<AttachmentTitle>}}{{Template:XFRACAS.Black|Example XFRACAS link}}{{Template:XFRACAS.Blue|<AttachmentTitle>}}
Line 81: Line 81:
           {{Template:XFRACAS.Blue|<DetailAttachment>}}
           {{Template:XFRACAS.Blue|<DetailAttachment>}}
             {{Template:XFRACAS.Blue|<AttachmentType>}}{{Template:XFRACAS.Black|Blob Data}}{{Template:XFRACAS.Blue|<AttachmentType>}}
             {{Template:XFRACAS.Blue|<AttachmentType>}}{{Template:XFRACAS.Black|Blob Data}}{{Template:XFRACAS.Blue|<AttachmentType>}}
             {{Template:XFRACAS.Blue|<DataSourceTypeID>}}{{Template:XFRACAS.Black|<17>}}{{Template:XFRACAS.Blue|<DataSourceTypeID>}}
             {{Template:XFRACAS.Blue|<DataSourceTypeID>}}{{Template:XFRACAS.Black|17}}{{Template:XFRACAS.Blue|<DataSourceTypeID>}}
             {{Template:XFRACAS.Blue|<Relationship>}}
             {{Template:XFRACAS.Blue|<Relationship>}}
             {{Template:XFRACAS.Blue|<AttachmentTitle>}}{{Template:XFRACAS.Black|Example File Attachment}}{{Template:XFRACAS.Blue|<AttachmentTitle>}}
             {{Template:XFRACAS.Blue|<AttachmentTitle>}}{{Template:XFRACAS.Black|Example File Attachment}}{{Template:XFRACAS.Blue|<AttachmentTitle>}}
Line 90: Line 90:
           {{Template:XFRACAS.Blue|<DetailAttachment>}}
           {{Template:XFRACAS.Blue|<DetailAttachment>}}
             {{Template:XFRACAS.Blue|<AttachmentType>}}{{Template:XFRACAS.Black|Text}}{{Template:XFRACAS.Blue|<AttachmentType>}}
             {{Template:XFRACAS.Blue|<AttachmentType>}}{{Template:XFRACAS.Black|Text}}{{Template:XFRACAS.Blue|<AttachmentType>}}
             {{Template:XFRACAS.Blue|<DataSourceTypeID>}}{{Template:XFRACAS.Black|<21>}}{{Template:XFRACAS.Blue|<DataSourceTypeID>}}
             {{Template:XFRACAS.Blue|<DataSourceTypeID>}}{{Template:XFRACAS.Black|21}}{{Template:XFRACAS.Blue|<DataSourceTypeID>}}
             {{Template:XFRACAS.Blue|<Relationship>}}
             {{Template:XFRACAS.Blue|<Relationship>}}
             {{Template:XFRACAS.Blue|<AttachmentTitle>}}{{Template:XFRACAS.Black|Example Text Attachment}}{{Template:XFRACAS.Blue|<AttachmentTitle>}}
             {{Template:XFRACAS.Blue|<AttachmentTitle>}}{{Template:XFRACAS.Black|Example Text Attachment}}{{Template:XFRACAS.Blue|<AttachmentTitle>}}

Revision as of 22:27, 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> 
            <AttachmentDescription>  Example ReliaSoft Homepage  <AttachmentDescription> 
            <FileName>  http://reliasoft.com  <FileName> 
            <RelatedID>  50  <RelatedID> 
           <DetailAttachment> 
           <DetailAttachment> 
            <AttachmentType>  Problem  <AttachmentType> 
            <DataSourceTypeID>  20  <DataSourceTypeID> 
            <Relationship>    <Relationship> 
            <AttachmentTitle>  Example XFRACAS link  <AttachmentTitle> 
            <AttachmentDescription>  Link to a XFRACAS Problem  <AttachmentDescription> 
            <RelatedID>  200  <RelatedID> 
           <DetailAttachment> 
           <DetailAttachment> 
            <AttachmentType>  Blob Data  <AttachmentType> 
            <DataSourceTypeID>  17  <DataSourceTypeID> 
            <Relationship> 
            <AttachmentTitle>  Example File Attachment  <AttachmentTitle> 
            <AttachmentDescription>  An uploaded file  <AttachmentDescription> 
            <FileName>  TestFile.png  <FileName> 
            <RelatedID>  125  <RelatedID> 
           <DetailAttachment> 
           <DetailAttachment> 
            <AttachmentType>  Text  <AttachmentType> 
            <DataSourceTypeID>  21  <DataSourceTypeID> 
            <Relationship> 
            <AttachmentTitle>  Example Text Attachment  <AttachmentTitle> 
            <AttachmentDescription>  Attachment text goes here  <AttachmentDescription> 
           <DetailAttachment> 
        <DetailAttachments> 
      </Detail