Importing Variable Values (For SOLIDWORKS PDM Professional only)

SOLIDWORKS PDM Professional can import variable values from an XML file into a vault database. In the vault, existing files or items that match import criteria acquire the values at specified points in the file workflow.

At a high level, the process works as follows:

  1. You:
    • Write an XML file containing variable values.
    • Create an import rule and import transition action.
  2. The system:
    • Regularly polls for XML files that contain new variable values.
    • Matches new XML content with existing files or items in the vault.
    • Writes the new content to a temporary table in the database.
  3. When files or items move through a workflow transition with an import action, the system copies new content from the temporary table to the file or item card.


Before you start:

  1. Create a file or item card containing a control for each variable.

    For example, for variables ArticleID and Cost, create controls with the same names, ArticleID and Cost.

  2. Create a file or item that uses the data card and check it into the vault at least once.