Skip to main content
14-Alexandrite
January 19, 2021
Solved

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

IvyZhuangAnswer
17-Peridot
January 22, 2021

Hi Zeiad,

 

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

You can refer to CS175170 for the details.

 

Regards,

Ivy 

4 replies

IvyZhuang17-PeridotAnswer
17-Peridot
January 22, 2021

Hi Zeiad,

 

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

You can refer to CS175170 for the details.

 

Regards,

Ivy 

Translate
14-Alexandrite
January 22, 2021

Hi @IvyZhuang 

 

Thanks for your reply.

I was hoping that we could use .

 

Regards

Zeiad

Translate
17-Peridot
August 5, 2021

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?

Translate