AnsweredAssumed Answered

Xogging document from custom object

Question asked by robert.muir on Nov 1, 2018
Latest reply on Nov 5, 2018 by Shoichi_Sugawara

I have been tasked with finding a way to export documents from attachment attribute we have in a custom sub-object which which is party of a custom Master object.  I have spent sometime on the forums trying to write the XOG that will allow me to do this.  I have been focussing on xogging out just one for the moment to try and test but I have hit an error that I cannot resolve.  Can anyone help me out with what is missing please? The main part of the error is

 

<Description>XOG-4001: Failed to export documents.</Description>
<Exception>
java.lang.Exception: XOG-4000: Parent Object was not found; The parent information provided is incorrect.

 

 

<?xml version="1.0" encoding="UTF-8"?>
<NikuDataBus xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/nikuxog_read.xsd">
<Header version="8.0" action="read" objectType="document" externalSource="NIKU">
<args name="documentLocation" value="C:\Clarity"/>
</Header>
<DocumentQuery>
<Filter name="parentObjectID" criteria="EQUALS">5414021</Filter>
<Filter name="parentObjectType" criteria="EQUALS">customObjectInstance</Filter>
<Filter name="folderName" criteria="EQUALS">bc_adoc::ODF::Attribute</Filter>
<Filter name="folderPath" criteria="EQUALS">/Root/DMS/ODF/bc_ann/5414021</Filter>
</DocumentQuery>
</NikuDataBus>

 

Thanks

Outcomes