Search K
Appearance
Appearance
Uploads a local file to a specified folder in ProjectWise.
Use this task to publish a file into ProjectWise as part of an automated workflow — for example, uploading a generated PDF, a converted export, or a file received from an external system. The task uploads the file and returns the newly created document object.
Requires a Bentley ProjectWise service account.
| Field | Type | Required | Description |
|---|---|---|---|
| Local File Full Path | Text | Yes | The full local path to the file to upload. Typically sourced from a previous task's LocalFilePath output or a file operation task. |
| Destination Folder | Text | Yes | The folder GUID or WSG path for the target folder in ProjectWise. |
| Document Name | Text | No | The name to give the document in ProjectWise. If left blank, the file's original filename is used. |
| Comment | Text | No | An optional check-in comment to attach to the document. |
| Name | Description |
|---|---|
| Document | The PWInstance object for the newly created document, containing all WSG properties assigned at upload. |
| DocumentId | The WSG instance ID (GUID) of the newly created document. |