Subprojects Are Not Copied While Creating a New Project From Template Over XOG

book

Article ID: 198010

calendar_today

Updated On:

Products

Clarity PPM On Premise Clarity PPM SaaS

Issue/Introduction

While trying to create a new project from template over XOG, the resulting project does not contain those subprojects.

Example code:

<NikuDataBus xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/nikuxog_project.xsd">
<Header action="write" externalSource="NIKU" objectType="project" version="15.8.1.238"/>
<Projects>
<Project active="1" finish="2021-08-23T12:00:00" format="0" projectID ="PR1234_1" fromTemplate="PR1234" managerResourceID="manager" name="PR1234_1" openForTimeEntry="false" start="2020-08-23T12:00:00" trackMode="0">
<Subprojects>
<Subproject projectID="PR1235" readOnly="0"/>
</Subprojects>
</Project>
</Projects>
</NikuDataBus>

Resolution

This is working as designed. Template does not copy projects. Projects should be a added in a subsequent step in a different XOG operation.