AnsweredAssumed Answered

Change Specific Attribute Object Idea Using XOG

Question asked by jpereza on Mar 24, 2013
Latest reply on May 5, 2013 by jpereza
Hi guys,

Clarity 13.1

I know that there are several XML files that allow do read / write of several objects

I have the following template to change a specific attribute in Project object:

<NikuDataBus xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/nikuxog_project.xsd">
<Header version="6.0.11" action="write" objectType="project" externalSource="NIKU" />
<Projects>
<Project name="my Project name" projectID="my_project_code">
<CustomInformation>
<ColumnValue name="my_custom_attribute">my_new_value</ColumnValue>
</CustomInformation>
</Project>
</Projects>
</NikuDataBus>

I don't know how to perform the above action in the idea object, I was able to read my idea, once get the XML in write mode, I don't know how can change specific idea:

<?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="idea" externalSource="NIKU">
<args name="documentLocation" value="D:\niku/xog/test/documentXogLocation"/>
<args name="include_resources" value="true"/>
<args name="include_tasks" value="true"/>
<args name="include_allocations" value="true"/>
</Header>
<Query>
<Filter name="objectID" criteria="EQUALS">my_idea_code</Filter>
</Query>
</NikuDataBus>

Please advice, my custom attribute in the idea have the following ID: custom_test
The current value is: 511989

I want to change the above value by NULL

Please advice, thanks guys

Outcomes