AnsweredAssumed Answered

How to update projects without updating the project name

Question asked by janat on Apr 17, 2013
Latest reply on Apr 23, 2013 by another_martink
Hi,

we update project data on Clarity via xog. For this we are using the following xog script.

<?xml version="1.0" encoding="UTF-8"?>
<NikuDataBus xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/nikuxog_project.xsd">
<Header version="12.1.1.1208" action="write" objectType="project" externalSource="NIKU"/>
<Projects>
<Project name="test xog" projectID="000111" entityCode="***">

<CustomInformation>
<ColumnValue name="z_date_field">08/03/2010</ColumnValue>
</CustomInformation>
</Project>

</Projects>
</NikuDataBus>


Actually we just need to update z_date_field, but as I understand Clarity needs also some other fields (the project name and entityCode) otherwise I get an erorr if I am doing it without the project name :
<ErrorInformation>
<Severity>FATAL</Severity>
<Description>[Error] :0:0: element "Project" is missing "name" attribute
....... </ErrorInformation>


But what xog is doing is to overwrite the project name. In case it was not changed it is ok. But if the project name was changed in the meantime, we update data that shouldn't be updated.

Does anybody has any idea how to manage this? Just to update a custom field on a project?

Regards
janat

Outcomes