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

Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X

Using the environment variable In the custom menu

Zeiad-Alkassem
13-Aquamarine

Using the environment variable In the custom menu

Hello community,

 

In the custom menu , i want to use the environment variable %JAVA_HOME% may also to be use lax.nl.env.path variable. Could you please tell me How to call that from the "Customize User Button" windows?

 

Windchill RV&S 12.3.1


Any tips well be very welcome

 

Regards

Zeiad

ACCEPTED SOLUTION

Accepted Solutions

Hi Zeiad,

 

Environment variable cannot be used in "Customize User Button".

You can refer to CS175170 for the details.

 

Regards,

Ivy 

View solution in original post

4 REPLIES 4

Hi Zeiad,

 

Environment variable cannot be used in "Customize User Button".

You can refer to CS175170 for the details.

 

Regards,

Ivy 

Hi @IvyZhuang 

 

Thanks for your reply.

I was hoping that we could use .

 

Regards

Zeiad

Hi Zeiad,

I am using this script behind a custom command ("wscript runReport.vbs")

 

runReport.vbs:

Set WshShell = CreateObject("WScript.Shell")
cmds=WshShell.RUN("im runreport --hostname=%MKSSI_HOST% --user=%MKSSI_USER% --port=%MKSSI_PORT% --issues=%MKSSI_ISSUE0% --param=username=%MKSSI_USER% -g """&WScript.Arguments(0)&"""", 0, False)
Set WshShell = Nothing

 

And yes, I  am using environment variables.

Does this help somehow?

Hi @VolkerEckardt ,

 

Thanks for your reply and sorry for my late response.

 

Of course it will be useful, AS always your ideas 😉.

 

Regards

Zeiad

Announcements


Top Tags