Details.AttachmentsDetail: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
m (Protected "Details.AttachmentsDetail" ([edit=sysop] (indefinite) [move=sysop] (indefinite)))
No edit summary
Line 1: Line 1:
{{Template:XFRACAS.XML.Import.Doc.Class|Details|Details}}
{{Template:XFRACAS.XML.Import.Doc.Class|Insert Details|Insert Details}}
===XML Element===
===XML Element===
<Detail>
<Detail>
Line 23: Line 23:


===Description===
===Description===
* Attachment Detail
* DetailUIType: AttachmentsDetail
* The AttachmentType element is required. It must match an existing attachment type.  
* The AttachmentType element is required. It must match an existing attachment type.  


  Attachment Types:
  Attachment Types:
Uploaded File
Uploaded File
URL Link
URL Link
XFRACAS
XFRACAS
Text
Text
Project (XFRACAS)
Problem (XFRACAS)
Incident (XFRACAS)
Failure Analysis (XFRACAS)
Customer (XFRACAS)
Action (XFRACAS)


* 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.
 
* The Relationship (String) element is optional and only used only for XFRACAS attachment types. 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:
  Relationships:
Line 41: Line 51:
  Amended
  Amended


* The AttachmentTitle (String) element is optional.  
The AttachmentTitle (String) element is optional. Maximum of 255 characters allowed.
 
The AttachmentDescription (String) element is optional. Maximum of 500 characters allowed.
 
The FileName element is required for attachment type URL Link and not imported for all other attachment types.
 
The XFRACASID element is optional, but it must be present for XFRACAS type attachments. It must contain an ID that matches an existing item of the same type as the AttachmentType.


* The AttachmentDescription (String) element is optional.
The RelatedId element is optional. If present, the value must match an existing item of the same type as the AttachmentType.


* The FileName element is required for attachment type URL Link and not importedfor all other attachment types.
RelatedID is optional. itsIt contains the Blob Data ID for URL and Uploaded file attachment types (Export Only). It can also be used to specify the database ID for XFRACAS attachment types.Export Only.


* The RelatedId element is optional. If present, the value must match an existing item of the same type as the AttachmentType.
The att_key element is optional. Export only.


===Detail Sample===
===Detail Sample===

Revision as of 19:12, 19 September 2014

XML Element

<Detail>

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

</Detail>



Description

  • Attachment Detail
  • DetailUIType: AttachmentsDetail
  • The AttachmentType element is required. It must match an existing attachment type.
Attachment Types:

Uploaded File URL Link XFRACAS Text Project (XFRACAS) Problem (XFRACAS) Incident (XFRACAS) Failure Analysis (XFRACAS) Customer (XFRACAS) Action (XFRACAS)


  • The Relationship (String) element is optional and only used only for XFRACAS attachment types. 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. Maximum of 255 characters allowed.

The AttachmentDescription (String) element is optional. Maximum of 500 characters allowed.

The FileName element is required for attachment type URL Link and not imported for all other attachment types.

The XFRACASID element is optional, but it must be present for XFRACAS type attachments. It must contain an ID that matches an existing item of the same type as the AttachmentType.

The RelatedId element is optional. If present, the value must match an existing item of the same type as the AttachmentType.

RelatedID is optional. itsIt contains the Blob Data ID for URL and Uploaded file attachment types (Export Only). It can also be used to specify the database ID for XFRACAS attachment types.Export Only.

The att_key element is optional. Export only.

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