AnsweredAssumed Answered

Update resource data using XOG

Question asked by PragyaT on Mar 1, 2012
Latest reply on Mar 1, 2012 by N.P
I need someone's inputs to update the username of a resource using XOG.

I update the username in resource XOG write file and tried to run it. It ran successfully but it didn’t update the username value….

Here is the XOG script: (I have updated the value of username – marked with yello. Its original value is “jparmar” and I updated it to “jparmar123”, but it didn’t affect any changes.)

<?xml version="1.0" encoding="UTF-8"?>
<NikuDataBus xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/nikuxog_resource.xsd">
<Header action="write" externalSource="NIKU" objectType="resource" version="12.0.5.5350"/>
<Resources>
<Resource employmentType="GDS" externalId=" "
includeInDatamart="true"
isActive="false" isExternal="false"
resourceId="jparmar"
resourceType="LABOR" username="jparmar123">
<PersonalInformation displayName="Parmar, Jignesh"
emailAddress="jparmar@nshs.edu" firstName="Jignesh" lastName="Parmar"/>
</Resource>
</Resources>
</NikuDataBus>

NOTE: I can update the username value from Clarity UI but not from XOG.

Let me know if you have any solution.
Thanks in advance

Outcomes