Cobra Help

Copy Project Process

Use the Copy Project API process to create a new Cobra project by copying an existing project. You can also use this process to copy a Cobra master project which results in a new copy of the master project and all its children projects.

Process Settings

Below are the settings you must define for the Copy Project API process.

Setting

Description

Sample Value

ProcessID

This setting informs Cobra to run the Copy Project process.

CopyProject

CopyFrom

This setting refers to the name of the source project to copy

This setting is required.

Demo

CopyTo

This setting identifies the name of the new Cobra project to create.

This setting is required.

Demo Advanced

CopyData

This setting indicates whether data is copied from the source project into the new project. A value of 1 indicates that the data is copied.

This setting is optional and the default value is 0.

1

DeleteTarget

This setting indicates whether Cobra should delete the existing copy of the new project. A value of 1 informs Cobra to delete the existing copy of the new project.

This setting is optional and the default value is 1.

0

CopyCalendar

Use this setting to copy the calendar from the source project and rename it to the new name of the project.

A value of 1 informs Cobra to copy the calendar. A value of 0 informs Cobra to use the same calendar as the source project for the new project.

This setting is optional and the default value is 1.

0

NewDescription

This setting refers to the description of the new Cobra project.

This setting is optional.

This is demo project.

Sample Script

Below is a sample script file for the Copy Project API process.

[Process018] ProcessID=CopyProject CopyFrom=Demo CopyTo=Demo Advanced CopyData=1 DeleteTarget=0 CopyCalendar=0 NewDescription=This is demo project.


Parent Topic:

Process Sections of the API Script

How to...

Copy Project Preferences

Run the API Script

Create Windows Shortcut for the API Script

Learn more about...

API Script

Project Template Creation

Copy Project Codes Dialog Box


Parent Topic:

Process Sections of the API Script


Parent Topic:

Process Sections of the API Script