Share this page

# createWorkPlanFromTemplate

## Purpose

This operation creates a work plan for a specified project from a given template.

## Input

The following inputs are required:

- Work plan template name.

- One of the following:

  - Project ID

  - Project name

## Return

If the operation is successful, no results are returned to the client.

## Java Examples

    String templateName = "Template 1";
    String projectName = "Project template 1";

    CreateWorkPlanFromTemplateDocument crtblkWpDoc =
    CreateWorkPlanFromTemplateDocument.Factory.newInstance();
    CreateWorkPlanFromTemplate cbwp =
    crtblkWpDoc.addNewCreateWorkPlanFromTemplate();

    WorkPlanInputType wpit = cbwp.addNewProjectInput();
    // Set the value for WorkPlanInputType element's projectName
    wpit.setProjectName(projectName);

    // Set the value for CreateWorkPlanFromTemplate element's
    templateName
    cbwp.setTemplateName(templateName);
    // Invoke service method
    stub.createWorkPlanFromTemplate(crtblkWpDoc);

https://admhelp.microfocus.com PPM 8942
Tips to improve your search results... OpenText™ Project and Portfolio Management Help Center PPM Help 26.2-26.3 All View Local Help Center View Online Help Center Version: