ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

XOG out an Attachment File


Article ID: 18422


Updated On:


Clarity PPM SaaS Clarity PPM On Premise



The XOG out action was working perfectly on 13.2, but we upgraded to 13.3 and it is not able to XOG out the document.
It returns following Warning:

<Description>XOG-9100: Failed to export document(s) on object type: my_custom_object, </Description>

This issue is reproducible only when storeFilesInDatabase setting is set to true in properties.xml
The Attachment xog out is using DMS API which creates directories in the documentLocation specified in xog file.
The code is not creating directories in documentLocation if storeFilesInDatabase="true" further it fails to write on directories which were not created

Steps to Reproduce:

  1. Use an existing implementation where the configuration for file storage is set to use the Database
  2. Be sure the target directory has appropriate permissions for allowing files to be created and updated
  3. Try to XOG out an document with custom object with example input:
    ------------------------ cut ---------------------- <NikuDataBus xmlns:xsi="" xsi:noNamespaceSchemaLocation="../xsd/nikuxog_read.xsd">      <Header action="read" externalSource="NIKU" objectType="customObjectInstance" version="13.3">            <args name="documentLocation" value="/home/clarity/niku/temp"/>      </Header>      <CustomObjectInstanceQuery>       <Filter criteria="EQUALS" name="objectCode">my_custom_object</Filter>       <Filter criteria="OR" name="instanceCode">ABC-0001</Filter>      </CustomObjectInstanceQuery>     </NikuDataBus> ------------------------ cut ---------------------- 


Expected Result: Document XOG out
Actual Result: XOG errors out with error XOG-9100 : Failed to export document(s) on object type






Includes CLRT-74470 and CLRT-74740 ; both marked as duplicates to this issue.

Resolved in Clarity 13.3 Generic Patch. Reference TEC605767
Resolved in CA PPM 14.1  


Release: ESPCLA99000-13.2-Clarity-Extended Support Plus