Article - CS318829

How to configure Windchill to allow "Cross Origin Resource Sharing (CORS) Requests" initiated from third party websites in Windchill PDMLink

Modified: 23-Sep-2021   


Applies To

  • Windchill PDMLink 11.0 M030-CPS17
  • Windchill PDMLink 11.1 M020-CPS10
  • Windchill PDMLink 11.2.0.4

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.)
  • 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 PDF version of Article CS318829 and may be out of date. For the latest version click https://www.ptc.com/en/support/article/CS318829