cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X

Pass credentials to Windchill prior to executing report

BernardWielfaer
12-Amethyst

Pass credentials to Windchill prior to executing report

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

2 REPLIES 2

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.

Announcements


Top Tags