Automate server connection
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Automate server connection
We're just getting started with Windchill in a teaching lab (windows 7)situation, therefore the users will rarely log on to the same PC twice meaning they have to connect to the server every time they start ProE [5.0] on a different PC (the server connection will only be retained on PCs having their profile and all profiles are scrubbed at the end of each day)
I'm not on the IT side, simply the instructor in the lab, but isn't there a way we could start ProE with a script(?) or batch file(?) which connects to the server at the same time therefore immediately prompting the user for their login details?
An suggestions, comments or even example files and instructions gratefully recieved,
Cheers, Sean
- Labels:
-
Other
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
I've since found David Graham and Randy Jones suggestion from last year to use a Mapkey:
!===================================
! Register to PDMLink Server
!===================================
mapkey rs @MAPKEY_NAMERegister to the PDMLink server on chs003;\
@MAPKEY_LABEL*Register PDMLink Server;\
~ Select `main_dlg_cur` `MenuBar1`1 `Utilities`;\
~ Close `main_dlg_cur` `MenuBar1`;\
~ Activate `main_dlg_cur` `Utilities.psh_util_weblnk_server_registry`;\
~ Activate `siteregistrydialog` `NewServerPshBtn`;\
~ Input `registernewserverdlg` `NewServerNameIPanel` `PDMLink`;\
~ Update `registernewserverdlg` `NewServerNameIPanel` `PDMLink`;\
~ FocusOut `registernewserverdlg` `NewServerNameIPanel`;\
~ Input `registernewserverdlg` `NewServerLocationIPanel` \`http://chs003.emhartglass.net/PDMLink`;\
~ Update `registernewserverdlg` `NewServerLocationIPanel` \`http://chs003.emhartglass.net/PDMLink`;\
~ FocusOut `registernewserverdlg` `NewServerLocationIPanel`;\
~ Activate `registernewserverdlg` `NewServerCheckPshBtn`;
!!!
Which I’ve modified to:
!===================================
! Register to PDMLink Server
!===================================
mapkey rs @MAPKEY_NAMERegister to the PDMLink server on windchilleducation;\
@MAPKEY_LABEL*Register PDMLink Server;\
~ Select `main_dlg_cur` `MenuBar1`1 `Utilities`;\
~ Close `main_dlg_cur` `MenuBar1`;\
~ Activate `main_dlg_cur` `Utilities.psh_util_weblnk_server_registry`;\
~ Activate `siteregistrydialog` `NewServerPshBtn`;\
~ Input `registernewserverdlg` `NewServerNameIPanel` `PDMLink`;\
~ Update `registernewserverdlg` `NewServerNameIPanel` `PDMLink`;\
~ FocusOut `registernewserverdlg` `NewServerNameIPanel`;\
~ Input `registernewserverdlg` `NewServerLocationIPanel` \'https://windchilleducation.eu/Windchill/';\
~ Update `registernewserverdlg` `NewServerLocationIPanel` \'https://windchilleducation.eu/Windchill/';\
~ FocusOut `registernewserverdlg` `NewServerLocationIPanel`;\
~ Activate `registernewserverdlg` `NewServerCheckPshBtn`;
!!!
But the mapkey stalls on inputting the server address – see attached
The only difference I can see (other than the address itself) is that it’s an https
Any ideas what might be the issue?
Cheers, Sean
(ProE 5.0, WinXP)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
%DIR_PROE_INSTALL%\bin\proe.exe
) ELSE (
%DIR_PROE_INSTALL%\bin\proe.exe %DIR_PROE_CONFIG_SOURCE%\registerserver.txt
)
The code above will check if a Windchill server has been registered and if not the registration trail file will be run on startup of your Pro/E session. You'll need to set the environ...
