BookmarkSubscribeRSS Feed
Choose Language Hide Translation Bar
Highlighted
swu2

Community Trekker

Joined:

Jan 27, 2017

how to get server name if JMP is installed on Citrix

we are trying to validate JMP addin and I want to write a script to display the citrix server name on each report.

 

is anyone know how I can get the server name through a script? server name is not the same as the computer name.

2 ACCEPTED SOLUTIONS

Accepted Solutions
ian_jmp

Staff

Joined:

Jun 23, 2011

Solution

Re: how to get server name if JMP is installed on Citrix

I'm not very familiar with Citrix. But I imagine 'RunProgram()' could help in so far as it would allow you to use something external to JMP that will give what you want. Search in 'Help > Scripting Index'. 

pmroz

Super User

Joined:

Jun 23, 2011

Solution

Re: how to get server name if JMP is installed on Citrix

computer_name = Get Environment Variable("COMPUTERNAME");
2 REPLIES 2
ian_jmp

Staff

Joined:

Jun 23, 2011

Solution

Re: how to get server name if JMP is installed on Citrix

I'm not very familiar with Citrix. But I imagine 'RunProgram()' could help in so far as it would allow you to use something external to JMP that will give what you want. Search in 'Help > Scripting Index'. 

pmroz

Super User

Joined:

Jun 23, 2011

Solution

Re: how to get server name if JMP is installed on Citrix

computer_name = Get Environment Variable("COMPUTERNAME");