Community Tip - You can change your system assigned username to something more personal in your community settings. X
This is a neat trick I use when developing.
In Windchill it is difficult to 'logout' and then login as another user. To get around this create two browser bookmarks with url format as:
http://username1:password1@windchill-server.ptcnet.ptc.com/Windchill/app/
http://username2:password2@windchill-server.ptcnet.ptc.com/Windchill/app/
This adds the username and password into the http request, so the user is not prompted. This has the added benefit that you can jump user easily in Windchill if you store the url as a bookmark.
This is really useful for demos!
This is an example of one of my bookmarks:
Hi Stephen Lawson ,
I cant set this.
it says windows cant find "http://demo.demo@pc158218.ptc.com/Windchill/app/"
am i doing something wrong in the url ?
thank you
vijayan
colon (:) between username and password, not period (.)
http://demo:demo@pc158218.ptc.com/Windchill/app/
tried this one too.. same error
stephen has mentioned like windchill-server- what is it?
please Matthew Knight, can u provide solution to
http://communities.ptc.com/message/201245#201245
Thank you
vijayan
I think you need to change the address after the @ symbol to the address of your server.
ya i got it now.
i was trying this in Internet expolrer. but it does not work in IE.
It works in mozilla firefox.
Nice trick. But why dont you use New Session to login in to different user in IE? or Multiple profiles in Chrome?
I also found this works in Chrome but not in IE. Works nice, thanks.
In the old PTC/User forum there was another idea, to create a button logout.
In this way, when you click on this button, the system it prompts again for username and password.
javascript:window.location.href=window.location.href.replace(/:\/\//,"://dummy@");window.location.reload();
Nice trick but just so readers know this is unsecure as it saves your credentials in text where anyone with access to your system could find it.
Windchill 10.1 and 10.2 has form based authentication support. This will provide a default button for log out. You can also go one step further and do a SSO configuration
Thanks
Binesh
Is there a way to make this work for Windchill 10.2/IE11? I've tested it, and it works in Firefox (as stated above) but the shop computers, who would be using this trick, are all using IE.
Try this for the URL in IE:
javascript:document.execCommand("ClearAuthenticationCache", false) ;window.location.reload();
i think i'm not getting what you're saying here...
where in firefox it would be: http://user:user@mywindchill_location/Windchill
in IE it would be javascript:document.execCommand("ClearAuthenticationCache", false) ;window.location.reload();http://user:user@mywindchill_location/Windchill
?
The command that I pasted will log out and bring up the login screen for Windchill. Nothing else should be needed.
while it does that, that's not what i'm looking for. i'm hoping for a login bypass (requested by IT) for users who are looking for drawings on the system. the process above works amazingly well for firefox, but i need something for IE.
our current system gives users the ability, once logged into the computer to pull up drawings. that system is becoming unstable, and the drawings are being imported into Windchill. i need a way to allow those users who definitely aren't power users on any level to get into Windchill without having to log in. i have a profile designed that limits what they have access to, and removes the ability to get to the preferences tab. but, quoting from IT, "if there are ways for people to screw it up, they will" - i'm attempting to limit the chance of that happening.
Another trick if you use Internet Explorer is to use nomerge in the shortcut so you can start multiple different sessions.
For example:
"C:\Program Files\Internet Explorer\iexplore.exe" -nomerge https://windchill.server.address/Windchill
The problem with this is if you are logged in to another site then it will log you out of both.
Works like a charm in CHrome! Thanks!