Share this page

# updateProject

## Purpose

Update an existing project.

## Related Information

Operation: createProject

## Input

The following inputs are required:

- One of the following:

  - Project name

  - Project ID

- ProjectType detail

## Return

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

## Java Examples

See webservice_toolkit:

`java\client\src\examples\pm\``ProjectServiceClient.java`

updateProject()

    UpdateProjectDocument updateProjDoc =
    UpdateProjectDocument.Factory.newInstance();
    UpdateProject up = updateProjDoc.addNewUpdateProject();
    ProjectInputType pit = up.addNewProjectInput();
    // Set the project name for update
    pit.setProjectName(projectName);

    ProjectType pb = up.addNewProjectBean();

    // Update the project info
    pb.addProjectManagerUserName("admin");
    pb.setPlannedStartPeriodFullName("March 2007");

    ProjectServiceStub stub = new ProjectServiceStub(ctx, WSURL);
    stub.updateProject(updateProjDoc);

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: