Setting up the Solidworks PDM Web 2

These are the major components required when installing and operating PDM Web to:

  • Static IP address OR DynDNS subscription for dynamic IP address resolution

  • TLS Certificate

  • Web2 API server

  • Web2 PDM server (optional)

Static IP or Dynamic DNS for testing

To connect from SharpSync to {yourserver}, a static IP address or domain name is required. This means that an IP address for a machine (your PDM server) stays the same or can be found using a name (domain name).

If you don't own a static IP address (preferable), then a dynamic DNS client is preferred. SharpSync does not endorse any specific services, but https://my.noip.com/ is a free service.

This service lets you register your machine under a semi-custom domain name and keeps that domain name active for 30 days at a time. For testing purposes this is sufficient.

A domain name in turn points to a static IP address (your PDM server). A domain name is not strictly necessary but is more convenient to remember than an IP address. A domain name is something that your company would use on the internet to host your own website at e.g.

https://yourcompany.com.

Once you've setup a domain name (either in your company or using a dynamic DNS service), you can use this new name in the SharpSync settings for PDM.

TLS Certificate

A TLS certificate is something that you use to encrypt the traffic between https://yourcompany.com and https://app.sharpsync.net. A TLS certificate is used to change the type of traffic from http => https A TLS certificate may be obtained from a certificate authority such as DigiCert or GoDaddy

https://www.digicert.com/tls-ssl/compare-single-domain-certificates

OR

https://www.godaddy.com/en-ca/web-security/ssl-certificate

For the more adventurous amongst you there are free TLS certificates available from Let's encrypt.

SW PDM Web2 API Server

Installing the Web2 API server

Expose the API to the public internet. The API must be exposed and visible (using CURL login, see below) from computers outside your network

curl -L https://{yourdomainOrStaticIpAndPort}/api/{vaultName}/authenticate \
-d "{
  'username': '{registeredVaultUser}',
  'password': '{registeredVaultUserPassword}'
}"

or a more convenient one-liner (since Windows terminal doesn't always work so well with multiline):

curl -L http://{yourdomainOrStaticIpAndPort}/api/{vaultName}/authenticate -H "Content-Type: application/json" -d "{ 'Username': 'admin', 'Password': 'admin' }"

This must return a 200 OK Response with a token

Test the connection

Installing the Web2 PDM Server (Optional)

The web 2 server allows an organization to navigate and view their files over the internet. This component is optional, but allows for navigation links to be generated in SharpSync for easy navigation to files in the vault.

[If you need more documentation or assistance, please engage us for more information]

Last updated