Enable API Attribute ID on bulk for existing attributes


Article ID: 210702


Updated On:


Clarity PPM On Premise Clarity PPM SaaS


After the Clarity upgrade, we want to enable the API Attribute ID on a bulk for existing attributes. Is there a way to achieve this instead of manually updating them one by one?



Post 15.8.1, the API Attribute Id can be updated via XOG 

Sample of XOG that can be used to do the update:

<NikuDataBus xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/nikuxog_contentPack.xsd">
  <Header action="write" externalSource="NIKU" objectType="contentPack" version=""/>
  <contentPack update="true">
      <object code="project" dwEnabled="true" dwTrendEnabled="true" entityCodeAttribute="entity" fiscalPeriodTypeAttribute="odf_period_type"
        pageInstanceType="SRM_PROJECTS" pageLayoutAttribute="page_layout" periodEndAttribute="odf_period_end" periodStartAttribute="odf_period_start"
        raiseEvents="true" source="niku.com" update="true">
        <nls description="The Project Object" languageCode="en" name="Project"/>
      <customAttribute code="obj_request_type" dataType="string" apiAlias="objrequesttype"></customAttribute>