Skip to content

ProjectWise - Update File Properties ​

Updates one or more metadata properties on a ProjectWise document.

Purpose ​

Use this task to write values back to a document's WSG properties — for example, updating a review status, setting an approval date, or syncing data from an external system into ProjectWise. The task resolves the document, applies all specified properties in a single call, and returns the updated document object.

Service Account ​

Requires a Bentley ProjectWise service account.

Inputs ​

FieldTypeRequiredDescription
File IdentifierTextYesThe document GUID, file name, or WSG path used to locate the document in ProjectWise.
PropertiesDictionaryYesKey/value pairs representing the properties to update. The key is the WSG property name and the value is the new value to set. Example: key Status, value Approved.

Outputs ​

NameDescription
DocumentThe updated PWInstance object returned by ProjectWise after the property write, reflecting the new values.

Tentech