Writing Updated Resource Data to MPP

Writing Updated Resource Data back to the MPP file

The code snippet in this article opens a source MPP file that has one resource. It then updates the data of the resource and adds several new resources. The steps involved in this activity are:

  1. Create an instance of Project Reader.
  2. Read the source MPP file.
  3. Add resources to the project.
  4. Update existing resource data.
  5. Save the project using the Project Writer.

The following code example demonstrates how to write updated resource data back to the MPP.