Hi All
I tried to use GetServerName() inside assign of a server action, but when I check the output my server name is empty. Is there any solution for this issue. My URL is
"http://"+ GetServerName()+"/" +GetEntryEspaceName()+"/ScreenName"
Hi Kavya,
The server name is available on the OutSystems meta model on the table Parameter from System. If you filter by Name = 'DefaultDNSName', the field Val has your domain (e.g. example.outsystemsenterprise.com).
Hope it helps.
Regards,João
Thanks Joao, worked fine for me.
Thank you, the marked solution worked for me when GetServerName() and GetRequestDomain() did not work because it is used in a Timer or a BPT.
Hi everyone, I’ve put together a forge component that I think might just be the answer to this issue.
https://www.outsystems.com/forge/component-overview/22949/environment-info-o11