Get Environment.hostname? 

Get Environment.hostname? 

  

Is there an action to get the environment hostname? 


Rajendra

It did not get the domain


:WIN-B80TNC9MDIO:10.1.150.1


I want the DNS value in the properites table, but there is no built in function to get this information.

Hi,

I believe the following thread answers your question:

http://www.outsystems.com/forums/discussion/9258/how-to-get-server-name-in-timer/

There you can find the following query which retrieves what you need:

SELECT [VAL]
FROM [ossys_Parameter]
WHERE [NAME]='DefaultDnsName'