AnsweredAssumed Answered

XOG Project with Documents

Question asked by juan.segovia on Jan 14, 2014
Latest reply on Jan 23, 2014 by another_martink

Hi. I'm trying to XOG out a project from one environment to mote it to another and I'm trying to migrate the project's documents at the same time.

I was checking other posts and I found this information on this post:

We can migrate the project document stored in the filestore as

1. In the project_read template specify "<args name="documentLocation" value="C:\Clarity\Docs" /> " where the Docs folder should be present in the server from where project instance is read.

2. When u XOG out files will be stored in the Docs folder, Copy the C:\Clarity\Docs from Serv1(OUT server) to Sev2(IN server)

3. XOG in the project_write file in Serv2.

I tried that but it's not working for me. I used this xml file:

<?xml version="1.0" encoding="UTF-8"?>
<NikuDataBus xmlns:xsi="" xsi:noNamespaceSchemaLocation="../xsd/nikuxog_read.xsd">
  <Header version="6.0.11" action="read" objectType="project" externalSource="NIKU">
    <!-- you change the order by simply swap 1 and 2 number in the name attribute -->
    <args name="order_by_1" value="name"/>
    <args name="order_by_2" value="projectID"/>
    <args name="include_tasks" value="true"/>
    <args name="include_dependencies" value="true"/>
    <args name="include_subprojects" value="true"/>
    <args name="include_resources" value="true"/>
    <args name="include_baselines" value="true"/>
    <args name="include_allocations" value="true"/>
    <args name="include_estimates" value="true"/>
    <args name="include_actuals" value="true"/>
    <args name="include_custom" value="true"/>
    <args name="include_burdening" value="false"/>
    <args name="documentLocation" value="c:\Niku/docs" />
        <Filter name="projectID" criteria="EQUALS">TEMP01</Filter>

With this XML NO DOCUMENTS are being generated on my C:\Niku\Docs folder.

If i use the normal documents_read.xml I do get files on my folder with this lines:

  <?xml version="1.0" encoding="UTF-8" ?>
- <NikuDataBus xmlns:xsi="" xsi:noNamespaceSchemaLocation="../xsd/nikuxog_read.xsd">
- <Header version="7.5" action="read" objectType="document" externalSource="NIKU">
  <args name="documentLocation" value="c:\Niku/docs" />
- <DocumentQuery>
  <Filter name="parentObjectID" criteria="EQUALS">5012002</Filter>
  <Filter name="parentObjectType" criteria="EQUALS">Projects</Filter>

Is there a way I can do both procedures with only one xml file? I'm asking this because I do not know exactly how many o which projects do have dcuments on them so I want to make this automatic if possible. Any ideas?