OH-Aras-1502
Description
Cause
Solution
<OHAttachments>
<xsl:for-each xmlns:xsl="http://www.w3.org/1999/XSL/Transform" select="SourceXML/updatedFields/Property/OHAttachments/OHAttachment">
<xsl:element name="{concat('attachment_',position())}">
<filename>
<xsl:value-of select="translate(fileName,':*?', '___' )"/>
</filename>
<addedByUser>
<xsl:value-of select="addedByUser"/>
</addedByUser>
<contentLength>
<xsl:value-of select="contentLength"/>
</contentLength>
<contentType>
<xsl:value-of select="contentType"/>
</contentType>
<contentBase64>
<xsl:value-of select="contentBase64"/>
</contentBase64>
<attachmentURI>
<xsl:value-of select="attachmentURI"/>
</attachmentURI>
<updateTimeStamp>
<xsl:value-of select="updateTimeStamp"/>
</updateTimeStamp>
<label>
<xsl:value-of select="label"/>
</label>
<fileComment>
<xsl:value-of select="fileComment"/>
</fileComment>
<attachmentReferenceType>
<xsl:value-of select="attachmentReferenceType"/>
</attachmentReferenceType>
<uniqueCode>
<xsl:value-of select="uniqueCode"/>
</uniqueCode>
<attachmentType>
<xsl:variable name="xPathVariable" select="attachmentType"/>
<xsl:value-of select="attachmentType"/>
</attachmentType>
</xsl:element>
</xsl:for-each>
</OHAttachments>Last updated

