project_sync
Synchronize a user project with the central datasheet store by linking documents, copying missing files into layout subfolders, importing new PDFs, and reporting changes and issues.
Instructions
Synchronize the user project with the central store: add the documents that the store links to the project parts, copy the missing copies into the project folder, move the copies into the subfolders of the layout, and import the new PDF files of the folder. A new file gets a part only from the store; for a different file the result proposes a part, and project_add_part assigns it. Gives the changes and the problems.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | A folder of the user project (default: the working folder of the server). The project file datasheet-lens.toml is in it or in a parent folder. | |
| restore | No | True: copy a changed copy again from the store (the file in the folder is replaced). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |