GetServerName() not working

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.

Hope it helps.


Thanks Joao, worked fine for me.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.