Home Search

DriveWorks Pro 21
PDM Pro Update Folder Data Card

Send Feedback

PDMPro: Update Folder Data Card

This Specification Flow Task will check a folder out (if it's available) and update the data card.

Note: Ensure the SolidWorks PDM Plugin Settings is set up and enabled.

Properties

When this task is added, the properties are

Property NameDescription
Source Folder PathThe full path of the folder whose data will be updated.
Field NamesPipebar (|) delimited string of the field names.
Field ValuesPipebar (|) delimited string of the new field values.
Constant Name(Optional) The name of the Constant into which the result should be driven.

Examples

Property NameExample RuleExample ResultMeaning
Source Folder Path"C:\VaultName\VaultFolder\MyFolder"C:\VaultName\VaultFolder\MyFolderThis is the file path to the folder whose data card will be updated.
Field Names"Project|SpecificationNumber|Customer"Project|SpecificationNumber|CustomerThese are the field names to update.
Field ValuesDWProjectName &"|"& DWSpecificationID &"|"& CustomerReturnMyProject|0075|DriveWorksThese are the values the fields are updated with.
Constant NameDWConstantUpdateFolderDWConstantUpdateFolderThe result will be written to this Constant.
When a Field Name is given that does not exist on the data card an error string will be returned within the array.

This can be handled by using an error function (such as IfErrorString.

Using the Task in a Specification Macro

This task has different types of Outputs. For more information about Outputs see Specification Macros Task Node.

Outputs are only available within Specification Macros.

Outputs:

  • Result

    A table containing the results of the data update.

Status Outputs

This task supports Status Outputs. They can be used to perform different actions depending on what the status outcome of the task is. For more information see Status Outputs in the Task Node Outputs section of Specification Macros Task Node.

The status output navigation is as follows:

Success

  • The folder was available to have its values updated.

Success with Warnings

  • N/A - should never be fulfilled.

Failure (one of the following occurred)

  • Checked out elsewhere
  • Couldn't be checked out
  • Not in vault
  • Invalid/empty folder name
  • Not logged in
  • Unrecognized folder