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

Pass credentials to Windchill prior to executing report

Highlighted
Regular Member

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

Re: Pass credentials to Windchill prior to executing report

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.

Re: Pass credentials to Windchill prior to executing report

Passing the credentials via the url does not work for Internet Explorer but does work for Chrome and Mozilla.

Announcements
LiveWorx Call For Papers Happening Now!