Article - CS391633

How to programmatically pass Windchill credentials when calling Windchill API using ContentLoaderFunctions in ThingWorx Platform

Modified: 18-Aug-2025   


Applies To

  • ThingWorx Platform 9.0 to 9.6

Description

  • When using ContentLoaderFunctions in JavaScript service to call Windchill API how to securely pass the Windchill Username and Password
  • Windchill and ThingWorx are SAML enabled but article CS359893 is followed to make API endpoints use Basic Authentication
  • Want to avoid the user authentication process and use the ThingWorx logged in user (Mashup Viewer) credential to automatically authenticate when calling the Windchill API
  • Is it feasible to remove the username and password from the ContentLoaderFunction while calling the Windchill API?
This is a printer-friendly version of Article 391633 and may be out of date. For the latest version click CS391633