Details.AttachmentsDetail: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
(Redirected page to XFRACAS XML Import Documentation)
 
(7 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{Template:XFRACAS.XML.Import.Doc.Class|Details|Details}}
#REDIRECT[[XFRACAS_XML_Import_Documentation]]
===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===
 
      {{Template:XFRACAS.Blue|<Detail>}}
        {{Template:XFRACAS.Blue|<DetailTypeID>}}{{Template:XFRACAS.Black|999}}{{Template:XFRACAS.Blue|</DetailTypeID>}}
        {{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|<DetailSpan>}}{{Template:XFRACAS.Black|Yes}}{{Template:XFRACAS.Blue|</DetailSpan>}}
        {{Template:XFRACAS.Blue|<DetailUIType>}}{{Template:XFRACAS.Black|AttachmentsDetail}}{{Template:XFRACAS.Blue|</DetailUIType>}}
        {{Template:XFRACAS.Blue|<DetailName>}}{{Template:XFRACAS.Black|Example Attachments}}{{Template:XFRACAS.Blue|</DetailName>}}
        {{Template:XFRACAS.Blue|<DetailAttachments>}}
          {{Template:XFRACAS.Blue|<DetailAttachment>}}
            {{Template:XFRACAS.Blue|<AttachmentType>}}{{Template:XFRACAS.Black|URL Link}}{{Template:XFRACAS.Blue|<AttachmentType>}}
            {{Template:XFRACAS.Blue|<Relationship>}}
            {{Template:XFRACAS.Blue|<AttachmentTitle>}}{{Template:XFRACAS.Black|Example URL Link}}{{Template:XFRACAS.Blue|<AttachmentTitle>}}
            {{Template:XFRACAS.Blue|<AttachmentDescription>}}{{Template:XFRACAS.Black|Example ReliaSoft Homepage}}{{Template:XFRACAS.Blue|<AttachmentDescription>}}
            {{Template:XFRACAS.Blue|<FileName>}}{{Template:XFRACAS.Black|http://reliasoft.com}}{{Template:XFRACAS.Blue|<FileName>}}
            {{Template:XFRACAS.Blue|<RelatedID>}}{{Template:XFRACAS.Black|50}}{{Template:XFRACAS.Blue|<RelatedID>}}
          {{Template:XFRACAS.Blue|<DetailAttachment>}}
          {{Template:XFRACAS.Blue|<DetailAttachment>}}
            {{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|<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|<AttachmentDescription>}}{{Template:XFRACAS.Black|Link to a XFRACAS Problem}}{{Template:XFRACAS.Blue|<AttachmentDescription>}}
            {{Template:XFRACAS.Blue|<RelatedID>}}{{Template:XFRACAS.Black|200}}{{Template:XFRACAS.Blue|<RelatedID>}}
          {{Template:XFRACAS.Blue|<DetailAttachment>}}
          {{Template:XFRACAS.Blue|<DetailAttachment>}}
            {{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|<Relationship>}}
            {{Template:XFRACAS.Blue|<AttachmentTitle>}}{{Template:XFRACAS.Black|Example File Attachment}}{{Template:XFRACAS.Blue|<AttachmentTitle>}}
            {{Template:XFRACAS.Blue|<AttachmentDescription>}}{{Template:XFRACAS.Black|An uploaded file}}{{Template:XFRACAS.Blue|<AttachmentDescription>}}
            {{Template:XFRACAS.Blue|<FileName>}}{{Template:XFRACAS.Black|TestFile.png}}{{Template:XFRACAS.Blue|<FileName>}}
            {{Template:XFRACAS.Blue|<RelatedID>}}{{Template:XFRACAS.Black|125}}{{Template:XFRACAS.Blue|<RelatedID>}}
          {{Template:XFRACAS.Blue|<DetailAttachment>}}
          {{Template:XFRACAS.Blue|<DetailAttachment>}}
            {{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|<Relationship>}}
            {{Template:XFRACAS.Blue|<AttachmentTitle>}}{{Template:XFRACAS.Black|Example Text Attachment}}{{Template:XFRACAS.Blue|<AttachmentTitle>}}
            {{Template:XFRACAS.Blue|<AttachmentDescription>}}{{Template:XFRACAS.Black|Attachment text goes here}}{{Template:XFRACAS.Blue|<AttachmentDescription>}}
          {{Template:XFRACAS.Blue|<DetailAttachment>}}
        {{Template:XFRACAS.Blue|<DetailAttachments>}}
      {{Template:XFRACAS.Blue|</Detail}}

Latest revision as of 16:14, 28 July 2015