Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X
I have an Excel macro doing a web query executing a Windchill report (query builder). The purpose is to download the dxf file attached to the drawing in an automated way. The problem is that Windchill does prompt the first time for credentials (login name and password). Is there a other way to give the credentials to Windchill ?
Your answers are welcome. Regards,
Bernard
I have a couple of thoughts.
1) I think there's a recent post where somebody points out that you can try something like http://username:password@example.com
2) Maybe the URL for the ReportTemplate isn't an authenticated URL? Not sure, but you can try creating your own JSP under an authenticated WC directory, and have that do the work of finding the correct report template, etc. That way, you don't have to hard code an OID in your Excel macro.
Passing the credentials via the url does not work for Internet Explorer but does work for Chrome and Mozilla.