Open project file
rillsoft_project_file_openOpens a single .rpj project file and replaces the current project. Refuses portfolios; set discardChanges=true to discard unsaved work, since undo history restarts.
Instructions
Opens exactly one project file (.rpj) and replaces the current project. A portfolio (.rpp) is refused; rillsoft_portfolio_file_open covers that. With unsaved changes pending, discardChanges:true is required. No undo step - the command history starts over. Whatever the loader has to say ends up in note.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | absolute path of an .rpj project file | |
| discardChanges | No | true = discard unsaved changes of the current project |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wbs | Yes | WBS code | |
| name | Yes | name | |
| note | No | hints about opening; missing when there were none | |
| path | Yes | path of the file that was opened | |
| uuid | Yes | UUID of the element | |
| start | Yes | start, DD.MM.YYYY hh:mm | |
| finish | Yes | finish, DD.MM.YYYY hh:mm | |
| number | Yes | number of the element; unique even for split tasks | |
| skipped | No | parts that were not loaded; missing when nothing was skipped | |
| projects | No | the projects it contains; only for a portfolio | |
| portfolio | Yes | true = a portfolio was opened |