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

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

How to login using different credentials in CREO integrated with Windchill?

jfrancis
4-Participant

How to login using different credentials in CREO integrated with Windchill?

I need to login with multiple users to reproduce issue;how do i do it without closing Creo every single time?

6 REPLIES 6
BenLoosli
23-Emerald II
(To:jfrancis)

You can't.

Logging in and out of Windchill has been a request since at least Windchill 5 and maybe even Windchill 1!

ChrisSpartz
13-Aquamarine
(To:BenLoosli)

If you're using basic authentication, then there is no way to log out. This is a limitation of HTTP Basic Authentication.

However, as of 10.1, Windchill also supports form based authentication. If you configure Windchill for form based authentication, then you have the ability to log out of Windchill. See CS34749 for more information.

This is possible, but CREO cache could be corrupted without local distinct cache folders per user id.  The issue resorts from the user ID being hard coded in several spot in local cache.

I also know the browser used underneath can add additional querks to this.  For example to have more then one active session for Internet Explorer, you have to be able to use File->New Session vs. New Tab or New Window.  This behavior is tied to running standalone IE browsers, but also if running standalone concurrently, Windows' systems will bind session concurrently unless New Session used.

TomU
23-Emerald IV
(To:jfrancis)

You could configure multiple sessions of Creo, each with their own cache.  This should allow you to run multiple sessions as different users simultaneously.

stg
4-Participant
4-Participant
(To:TomU)

Hi Tom,

Can you elaborate this please.?

TomU
23-Emerald IV
(To:stg)

You need to set the environment variable PTC_WF_ROOT equal to the cache location for each unique user.  There are a bunch of different way to do this but probably the easiest is to either duplicate the PSF file or duplicate the batch file and then set a unique value in each.  For example:

Double PSF Files

parametric.psf

// USER - PSF

// Add User specific environment or run applications below here

ENV=PTC_WF_ROOT=C:\ptc\%USERNAME%\Cache1

parametric2.psf

// USER - PSF

// Add User specific environment or run applications below here

ENV=PTC_WF_ROOT=C:\ptc\%USERNAME%\Cache2

Double Batch Files

parametric.bat

@echo off

SET PTC_WF_ROOT=C:\ptc\%USERNAME%\Cache1

"C:\Program Files\PTC\Creo 3.0\M100\Parametric\bin\parametric.exe" "C:\Program Files\PTC\Creo 3.0\M100\Parametric\bin\parametric.psf" %*

parametric2.bat

@echo off

SET PTC_WF_ROOT=C:\ptc\%USERNAME%\Cache2

"C:\Program Files\PTC\Creo 3.0\M100\Parametric\bin\parametric.exe" "C:\Program Files\PTC\Creo 3.0\M100\Parametric\bin\parametric.psf" %*

Announcements


Top Tags