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

SUMMARY - Automate Server Manager

jer3d1
1-Visitor

SUMMARY - Automate Server Manager

Two perfectly good responses. Thanks all.

- Mapkey the process
- Use a custom .fld file at the Windchill root of the workstation.

Best wishes,
Jered


Question:

Has anyone tried to automate the PDMLink server registration that takes place in Pro-Engineer?
(So the user doesn't have to register the server?)




I have looked at the possibilities in J-Link, but it can only register Windchill in a non interactive session. So the solution became a simple mapkey that adds name and locations and brings the user to the login dialog. This has saves us for many problems due to typos. It is also easy when dealing with external partners registering though ProjectLink to just have a mapkey in a config.pro file.


(Pro/ENGINEER Wildfire 4.0 M092 and Windchill 9.0 M050 on Windows)





Yes. We have two solution depending upon the users request.

Solution 1 is to create a mapkey that does the registry for the users.
Here's the mapkey. We place it in the Tools menu under the Server Registry menu selection.
The text in bold need to be edited for your site.

!===================================
! Register to PDMLink Server
!===================================
mapkey rs @MAPKEY_NAMERegister to the PDMLink server on chs003;\
mapkey(continued) @MAPKEY_LABEL*Register PDMLink Server;\
mapkey(continued) ~ Select `main_dlg_cur` `MenuBar1`1 `Utilities`;\
mapkey(continued) ~ Close `main_dlg_cur` `MenuBar1`;\
mapkey(continued) ~ Activate `main_dlg_cur` `Utilities.psh_util_weblnk_server_registry`;\
mapkey(continued) ~ Activate `siteregistrydialog` `NewServerPshBtn`;\
mapkey(continued) ~ Input `registernewserverdlg` `NewServerNameIPanel` `PDMLink`;\
mapkey(continued) ~ Update `registernewserverdlg` `NewServerNameIPanel` `PDMLink`;\
mapkey(continued) ~ FocusOut `registernewserverdlg` `NewServerNameIPanel`;\
mapkey(continued) ~ Input `registernewserverdlg` `NewServerLocationIPanel` \
mapkey(continued) `http:\\\\chs003.emhartglass.net\\PDMLink
0 REPLIES 0
Announcements


Top Tags