SharpSync
  • Welcome
  • Fundamentals
    • Getting Started
      • Registration
      • Landing Page
      • Support
      • Subscription
    • Data Sources
    • Property Mappings
      • Adding Property Mapping
      • Property Mapping Settings
    • Rules
      • Import / Export
        • Append text
        • Calculate number
        • Export manipulation
        • Format as decimal number
        • Prepend text
        • Remove property
        • Replace all instances
        • Replace first instance
        • Round to nearest X
        • Select from JSON
        • Set cell value
        • Set empty cells
        • Text manipulation
      • Display
        • Number between
        • Text contains
        • Text ends with
        • Text evaluation
        • Text is a number
        • Text is exactly
        • Text is in list
        • Text is not a number
        • Text is not empty
        • Text is not in list
        • Text length between
        • Text length is exactly
        • Text maximum length
        • Text minimum length
        • Text not contains
        • Text not ends with
        • Text not starts with
        • Text starts with
      • Advanced Scripting
    • BOM Comparison
    • Data Safety
    • Troubleshooting
      • Duplicate component paths
      • OAuth 2.0
  • Data Sources
    • Autodesk Inventor
    • CSV
      • Getting Started
      • Importing a Bill of Materials (BOM)
    • MS Dynamics 365 Business Central
      • Getting Started
      • Item Fields Json & Internal Names
      • Resource Fields Json & Internal Names
      • List Names For nestedObject Mappings
    • NetSuite
      • OAuth Setup
        • Permissions
      • RESTlet Script Setup
        • SharpSync RESTlet Script
      • Thumbnail Folder Setup
      • Authentication + Configuration
      • Common setup
        • Configure quantity mapping
        • Configure accounts mappings
        • Configure itemType mapping
        • Configure isPhantom mapping
        • Configure subsidiary mapping
        • Configure price mapping
        • Configure Where Used Link mapping
        • Configure thumbnail mapping
        • Read-Only NetSuite Fields
        • Common Mapping Rules
        • Common List names
      • Advanced Bill of Materials
      • Configure Routings
      • Integration tips
      • Troubleshooting
    • Odoo
      • Getting Started
        • Authentication + Configuration
        • Debugging tips
      • Common Setup
        • Map BOM Codes
        • Map BOM Types
        • Map Attribute Values
          • Reading Attributes - Overview
          • Display All Attribute Names
          • Display Single Attribute Values
          • Writing attributes
      • Product Management
      • Hosting Options
      • List Names
      • Permissions
      • Troubleshooting
    • Onshape
      • Getting Started
      • Setting up Derivatives
    • Propel PLM
      • Getting Started
    • SolidWorks
    • SolidWorks PDM
      • Downloading and installing the add-in
      • Configure the add-in
      • Setting up the Solidworks PDM Web 2
      • Troubleshooting
      • Submitting a BOM for update
  • Advanced
    • Derivatives
  • User management
    • User Management
    • Application Permissions
Powered by GitBook
On this page
  • Major configuration steps
  • Step: Configure a BOM view
  • Step: Configure the PDM client for the vault
  • Step: Configure the PDM client for the logged in user
  1. Data Sources
  2. SolidWorks PDM

Configure the add-in

PreviousDownloading and installing the add-inNextSetting up the Solidworks PDM Web 2

Last updated 1 month ago

The SharpSync PDM add-in has several pages for local configuration. These may be accessed by navigating to the PDM administration tool and right clicking > Configure SharpSync.

Major configuration steps

  • Configure a BOM view

  • Test connection to the server

Step: Configure a BOM view

A BOM view in PDM lets you view columns of data. SharpSync uses this information to populate data in SharpSync in combination with the property mappings.

The BOM view must contain the same columns as the columns mapped in the Property Mappings, with the exception of any column names wrapped in angled brackets '<>'. For example <state> and <folder> does not have to appear in the BOM view.

Step: Configure the PDM client for the vault

When configuring the add-in for the vault, these are the sections to configure:

  • The general setup which applies to all users

  • The BOM configuration section (how to process BOMs)

  • The SQL setup which is used internally by the add-in to assist with determining child item types

General setup

This image shows a landing screen of the setup.

The following fields must be configured:

Name
Description
Recommended value

BOM Layout

The columns + values exported to SharpSync

BOM (or whatever layout you want to export to SharpSync)[1]

SharpSync Admin credentials

User credentials that are used to setup the Data Source

-

File name handling

How files will be named in the hierarchy. Can be either the name of the file or a variable (e.g. Number)

This is automatically configured in Data Source configuration and cannot be changed in the add-in

[1] If you want Sheetmetal or weldments to display as child items of the BOM, make sure to enable one of the following settings in the BOM display

Click Connect... Upon success, the configured primary identifier will be listed in the Primary Identifier field. This is the value that will be used to identify the file in SharpSync.

NOTE: If you get an error saying that no source is configured,

First go to SharpSync > Data Sources (you must be an admin) > Add the PDM Data Source > This will create a source in SharpSync which will be used to pull Bill of Material (BOM) information from your vault.

BOM Configuration setup

Setting up the BOM configuration allows you to customize how Bill of materials are uploaded to SharpSync.

Section
Option
Description

BOM export

As Built

Export the version of the BOM and its associated references as at the version selected

BOM export

Latest

Export the latest version of the BOM and its associated references

Weldments

Export a weldment part as a part

Exports the weldment with the same qty referenced in the original BOM. Does not add children items from weldment members

Weldments

Export a weldment part as a assembly

Exports the weldment with the same qty referenced in the original BOM. DOES add children items

Sheetmetal

Export a sheet metal part as a part

Exports the weldment with the same qty referenced in the original BOM. Does not add children items from multibody parts

Sheetmetal

Export a sheet metal part as a assembly

Exports the weldment with the same qty referenced in the original BOM. DOES add children items

Excluded file types

Add file types on new lines

If a linked reference is found in the PDM BOM, it is not exported to SharpSync

SQL setup

The SQL configuration page requires data_reader access for SQL Server.

This image shows a screen of the setup

Setting up the BOM configuration allows you to customize how Bill of materials are uploaded to SharpSync.

Section
Option
Description

SQL Connectivity

Hostname\instance

Enter the name of the server and the SQL instance. Use \MSSQL if the instance is not named

SQL Connectivity

Database name

Enter the name of the database. Typically the same as the vault name. Consult your IT Admin if you don't have access

SQL Credentials

PDM SQL Username

Name of a user which has the ability to create and execute stored procedures.

SQL Credentials

PDM SQL Password

Password of a user which has the ability to create and execute stored procedures.

Note: The SQL connection details are not stored in SharpSync online services. The credentials are stored in a vault dictionary called SharpSync using the PDM API. You can search for it using SQL Server Management Studio and going to the Vault Database > Tables > Dictionaries > SharpSync

Step: Configure the PDM client for the logged in user

The general vault configuration applies to all users in the vault. However when uploading BOMs to SharpSync, the user must configure their own credentials to use SharpSync add-in.

This is so that each BOM that is uploaded is associated with a user in SharpSync. This allows SharpSync to track who uploaded the BOM and who approved the BOM.

To configure the add-in for the logged in user, follow these steps:

  • Login to the PDM Professional Vault

  • Right click in the background or on any file > SharpSync > Configure SharpSync user...

Specify the user credentials that will be used to upload BOMs to SharpSync.

(This is the name of user that has access in SharpSync, not the details of the user in PDM)

Right Click > Configure SharpSync