Article - CS318829

How to allow CORS requests initiated from third party websites in Windchill PDMLink

Modified: 27-Feb-2024   


Applies To

  • Windchill PDMLink 11.0 to 13.0

Description

  • How to configure Windchill to allow Cross Origin Resource Sharing (CORS) Requests initiated from third party websites
  • How to use Tomcat CORS filters to enable both upload & download requests in Windchill from external sites (ex: ThingWorx Navigate, File Server/Replica... etc.)
  • REST request fails with 403 Forbiden error when Origin (e.g. https://myServer.com) is added
  • Error in the Browser Dev Console [Open by F12 Key]
    • XMLHttpRequest cannot load http://[WINDCHILL_HOST] No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin '[ORIGIN]' is therefore not allowed access. The response had HTTP status code 401
This is a printer-friendly version of Article 318829 and may be out of date. For the latest version click CS318829