AnsweredAssumed Answered

XOG-out/XOG-in attachment

Question asked by Endyno on Apr 25, 2013
Latest reply on Apr 27, 2013 by fpena
Hello,

I am using version 12.1 and I would like to XOG-out attachment form server. I used this query:

<?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="7.5" action="read" objectType="document" externalSource="NIKU">
<args name="documentLocation" value="dev.de.organization.net" />
</Header>
<DocumentQuery>
<Filter name="parentObjectID" criteria="EQUALS">5141234</Filter>
<Filter name="parentObjectType" criteria="EQUALS">Projects</Filter>
<Filter name="folderName" criteria="EQUALS">741/005/5741252</Filter>
<Filter name="folderPath" criteria="EQUALS">/home/clarity/mnt/filestore/Files</Filter>
</DocumentQuery>
</NikuDataBus>

output is nothing

<?xml version="1.0" encoding="UTF-8"?>
<NikuDataBus xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/nikuxog_document.xsd">
<Header action="write" externalSource="NIKU" objectType="document" version="12.1.1.1208"/>
<Documents>
<Parent documentLocation="dev.de.organization.net"
parentObjectId="5141234" parentObjectType="Projects"/>
</Documents>
<XOGOutput>
<Object type="document"/>
<Status state="SUCCESS"/>
<Statistics failureRecords="0" insertedRecords="0"
totalNumberOfRecords="0" updatedRecords="0"/>
<Records/>
</XOGOutput>
</NikuDataBus>

In folder which I am reffering to there it mentioned file. What I am doing wrog?

I would like also to XOG-in this attachment to another project and I want to see it in specific attribute in clarity.

Thank uou for your responses

Outcomes