Clarity PPM

Expand all | Collapse all

Is it possible to XOG OBS Unit Access Right - Resource: Edit Calendar?

Jump to Best Answer
  • 1.  Is it possible to XOG OBS Unit Access Right - Resource: Edit Calendar?

    Posted 03-21-2019 10:26 PM
      |   view attached

    Is it possible to XOG OBS Unit Access right - Resource: Edit Calendar? Thanks in Advance



  • 2.  Re: Is it possible to XOG OBS Unit Access Right - Resource: Edit Calendar?

    Posted 03-21-2019 10:51 PM

    Yes, you should be able to XOG with below snippet in user XOG.

     

    For ex:

    <InstanceOBSRights>
     <Right id="ResourceEditCalendar">
      <OBSAssoc id="corpDepartmentOBS" mode="OBS_UNIT_AND_CHILDREN" name="Business Unit" unitPath="/Executive"/>
     </Right>
    </InstanceOBSRights>



  • 3.  Re: Is it possible to XOG OBS Unit Access Right - Resource: Edit Calendar?

    Posted 03-21-2019 11:21 PM

    Thank you - will try this. 



  • 4.  Re: Is it possible to XOG OBS Unit Access Right - Resource: Edit Calendar?

    Posted 03-22-2019 08:51 AM

    @pdesur - would you happen to know the object type and header information for the XOG? 



  • 5.  Re: Is it possible to XOG OBS Unit Access Right - Resource: Edit Calendar?

    Posted 03-22-2019 09:32 AM

    That would be cmn_users_write.xml

    Which starts like

    NikuDataBus xsi:noNamespaceSchemaLocation="../xsd/nikuxog_user.xsd"><Header version="6010" action="write" objectType="user" externalSource="ORACLE-FINANCIAL"/><Users><User userLanguage="English" userStatus="Active" userName="xoguser90" userType="Internal" externalId="2323"><PersonalInformation lastName="xoglastname90" firstName="xogfirstname90" emailAddress="xog1@niku.com" homeUrl="personal.settings"/><Resource resourceId="xoguser90"/><Company companyId="xogtestcompany"/><General addedBy="admin" addedDate="2001-09-05"/><OBSAssocs><OBSAssoc name="loc" id="loc" unitPath="/USA"/><OBSAssoc name="dept" id="dept" unitPath="/Niku"/></OBSAssocs><Groups><Group id="Stud

    Note that < has been removed from the beginning of every line



  • 6.  Re: Is it possible to XOG OBS Unit Access Right - Resource: Edit Calendar?
    Best Answer

    Posted 03-22-2019 04:07 PM

    Sample user XOG XML with InstanceOBSRights:

    <NikuDataBus xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/nikuxog_user.xsd">
         <Header action="write" externalSource="NIKU" objectType="user" version="15.5.1.240"/>
         <Users>
              <User externalId="0" isLDAP="true" oldUserName="user_test" uiThemeDefaultPartitionCode=" " userLanguage="English" userLocale="en_AU" userName="user_test" userStatus="ACTIVE" userTimezone="Australia/Sydney" userType="INTERNAL" userUid="user_test">
                   <PersonalInformation emailAddress="user_test@test.com" firstName="user" lastName="test"/>
                   <Resource resourceId="user_test"/>
                   <BusinessObjects/>
                   <Company/>
                   <InstanceOBSRights>
                        <Right id="ResourceEditCalendar">
                             <OBSAssoc id="corpDepartmentOBS" mode="OBS_UNIT_AND_CHILDREN" name="Business Unit" unitPath="/Executive"/>
                        </Right>
                   </InstanceOBSRights>
              </User>
         </Users>
    </NikuDataBus>


  • 7.  Re: Is it possible to XOG OBS Unit Access Right - Resource: Edit Calendar?

    Posted 03-22-2019 05:22 PM

    pdesur - this was helpful. We were able to XOG in the information needed.