Import project file
planitude_import_fileImports a Microsoft Project, Primavera or ProjectLibre file (.mpp, .mpx, .xml MSPDI, .xer, .pod) as a new project. Existing projects are not changed. By default the file's dates are kept and the Planitude scheduler is only used to measure how far its own calculation differs from the file (reported as drift). With applySchedule=true the Planitude dates are saved instead. Call planitude_preview_import first when the user has not confirmed the import. Calling it twice creates two projects. Requires write permission.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tz | No | Time zone for the times in the file (IANA, e.g. Europe/Rome). Default UTC. | |
| key | No | Project key (2-10 letters/digits, starting with a letter, e.g. 'Cronos'): tasks are numbered Cronos-1, Cronos-2, ... Fixed once the first task exists. Omitted = derived from the name. | |
| name | No | Project name, if different from the one in the file. | |
| filename | No | File name including the extension. | |
| workspaceId | No | Target workspace. Omitted = the personal workspace. | |
| applySchedule | No | true = save the dates calculated by Planitude. Default false = keep the file's dates. | |
| contentBase64 | No | File content encoded in base64. Requires filename. |