Project XOG "associatedParent" ignored if "fromTemplate" is also used

book

Article ID: 225199

calendar_today

Updated On:

Products

Clarity PPM On Premise Clarity PPM SaaS

Issue/Introduction

When trying to create a new project using XOG, if both "associatedParent" and "fromTemplate" attributes are specified in the project XML, "associatedParent" is ignored. If "fromTemplate" is ommited, the project is created with the "associatedParent" set.

Environment

Release : 15.9.3

Component : PPMXOG

Resolution

If you try to set a Parent to a project template from the Clarity UI, you will get the following error:

Error: Program/Template project can neither be a parent to other investments nor have a parent investment.

Create a new process to set this attribute after the project has been created to set its parent, or, do a second XOG call to update that attribute alone (i.e.: as a separate step, not during the creation).