Skip to main content

Unified Messaging: How to enable ADRXML-export with inline attachment

Written by Wim Jans

🔗 Source article (Salesforce): Click here


If you enabled ADRXML-export and chose an export folder via the Settings of Unified Messaging, but you'd like to see the content of the attachement inline (= inside the xml-export) instead via file reference, you can activate this option as follows:

  • open an SQLclient and go to the UM database (default name is HCUM)

  • Execute this statement:

update SETTING set SETTING_VALUE='true' where SETTING_FIELD='ADR_XML_INLINE_ATTACHMENT';

  • Restart service Unified-Messaging.

As of now, your attachment will be Base64-coded in the xml-export instead of being referred to as file-reference:

<Attachment>
   <Content>dGVzdCBkb2N0b3I=</Content>
   <Name>test.txt</Name>
   <MimeType>plain/text</MimeType>
   <FunctionalType>dma-rep</FunctionalType>
   <Encoding>UTF-8</Encoding>
</Attachment>


instead of:

<Attachment>
   <FileReference>ADR_202109249090900_3100002766192\test.txt</FileReference>
   <Name>test.txt</Name>
   <MimeType>plain/text</MimeType>
   <FunctionalType>dma-rep</FunctionalType>
   <Encoding>UTF-8</Encoding>
</Attachment>



Did this answer your question?