Thingworx user context to pull windchill xml data
Hello All,
Our requirement is to fetch from Windchill, the dropdown values of ThingWorx UI for certain attributes, (Enumeration data)
The idea ...
1. write a Infoengine task (webject) in windchill (getObjectAttributes.xml), that returns all attributes for a given object type.
2. And then in ThingWorx, "load" the XML in a javascript service, parse XML and show attribute values in UI
But when I "load" the XML in my javascript service using LoadXML snippet, it expects username/password. Is it possible to use the user-context or user-session to LoadXML, because the user will be already logged-in to the system and also its not right approach to pass user credentials through code.
Thanks
Avinash

