Clarity

  • 1.  Can we - Set the Purge Flag for Investments via XOG

    Posted Nov 15, 2013 06:41 PM

    We are planning to update purge flags for large number of investments(>1500)sad . Direct DB edit is not noan option for us so planned to do it via XOG and script it. 

    I need a simple write XML by which i can Update Purge Flag.

    Thanks,

    Rajesh Reddy



  • 2.  RE: Can we - Set the Purge Flag for Investments via XOG

    Posted Nov 16, 2013 01:09 AM

    Did a simple test on 13.2.0.472

    Used the below xml -

    <?xml version="1.0" encoding="UTF-8"?>
    <NikuDataBus xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/nikuxog_project.xsd">
      <Header action="write" externalSource="NIKU" objectType="project" version="13.2.0.472"/>
      <Projects>
        <Project active="false" closed="true" financialStatus="C" lastUpdatedBy="JN1" lastUpdatedDate="2013-11-15T22:02:15" managerResourceID="JN1"
          name="Test 02" openForTimeEntry="false" projectID="PM0000003L">
          <CustomInformation>
            <ColumnValue name="partition_code">NIKU.ROOT</ColumnValue>
            <ColumnValue name="agile_linked">false</ColumnValue>
            <ColumnValue name="agile_synced">false</ColumnValue>
            <ColumnValue name="sync_detail_inform">N/A</ColumnValue>
            <ColumnValue name="sync_status">pending</ColumnValue>
            <ColumnValue name="cust_region">us_east</ColumnValue>
            <ColumnValue name="obj_status_reporting">NOT_REQUIRED</ColumnValue>
            <ColumnValue name="btm_integration">false</ColumnValue>
            <ColumnValue name="obj_work_status">REQUESTED</ColumnValue>
          </CustomInformation>
          <General addedBy="JN1" addedDate="2013-11-15"/>
          <OBSAssocs complete="false"/>
        </Project>
      </Projects>
    </NikuDataBus>

    What I changed is marked in BOLD

    Just check  in non-prod env first before proceeding

    NJ



  • 3.  RE: Can we - Set the Purge Flag for Investments via XOG

    Posted Nov 19, 2013 02:31 AM

    @NJ thanks for replying

    the XML didn't wrk... tried to xog in it showed records updaed 1 but nothing xoged in...

    Can u please give me a XML which can change the "purge flag" from yes to --> NO.



  • 4.  RE: Can we - Set the Purge Flag for Investments via XOG

    Posted Nov 19, 2013 03:02 AM

    Which Clarity version are you on ?

    NJ



  • 5.  RE: Can we - Set the Purge Flag for Investments via XOG

    Posted Nov 19, 2013 03:31 AM

    Version 13.1



  • 6.  RE: Can we - Set the Purge Flag for Investments via XOG

    Posted Nov 19, 2013 08:46 AM

    Don't see any project level purge or delete attributes/tags in project xml sample file or xsd file. That is excluding subproject.

     

    Martti K.



  • 7.  RE: Can we - Set the Purge Flag for Investments via XOG

    Posted Nov 19, 2013 09:15 AM

    If you cannot do thatwith XOG and the GEL is an option for you.

    Basically you could have that field in a project object based grid portlet or even in the project list and increase the number of row to 50 which would give only 15 pages to edit.

    However, that field does not seem to be editable.

     

    Martti K:



  • 8.  RE: Can we - Set the Purge Flag for Investments via XOG

    Posted Nov 19, 2013 10:08 AM

    "However, that field does not seem to be editable." - if you change the project list to 50 rows then you can "mass-delete" 50 at a time using the check boxes and the 'Mark for Deletion' button.
     



  • 9.  RE: Can we - Set the Purge Flag for Investments via XOG

    Posted Nov 19, 2013 11:03 AM

    Thanks Dave. The solution is so simple.

    Martti K.