Description:
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:
------------------------ cut ---------------------- <NikuDataBus xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 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
Solution:
WORKAROUND:
None.
STATUS/RESOLUTION: