ODF-0248 error found trying API enable third-level custom sub-object
search cancel

ODF-0248 error found trying API enable third-level custom sub-object

book

Article ID: 273413

calendar_today

Updated On:

Products

Clarity PPM On Premise Clarity PPM SaaS

Issue/Introduction

While enabling api on a custom sub-object (Third level) of another sub-object (Second Level) those parent is Project Object  (First Level). 

We are getting an error "ODF-0248: Cannot API enable custom sub-object."

Environment

Release : 16.0.3

Resolution

Enabled API property of the third-level sub-object via XOG. 

XOG xml sample to API enable an object:

<NikuDataBus xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/nikuxog_contentPack.xsd"> 
<Header action="write" externalSource="NIKU" objectType="contentPack" version="16.1.1"/> 
<contentPack update="true"> 
<objects> 
<object code="Sub2" copyEnabled="true" apiEnabled="true" pageLayoutAttribute="page_layout" parentObjectCode="project" raiseEvents="false" source="customer" update="true"> 
<nls languageCode="en" name="Sub2"/> 
</object> 
</objects> 
</contentPack> 
</NikuDataBus>