Possible to detect if panel is running in webserver?

Find and share HowTos to various installations / configurations!
Search

Post Reply
2 posts • Page 1 of 1
Smiffy
Posts: 44
Joined: Thu May 18, 2017 4:21 pm

Possible to detect if panel is running in webserver?

Post by Smiffy »

I would like to have a button perform different actions depending on if the application is running on the host machine or being run over the webserver interface. Is that possible? I have looked through the help and cannot find anything. Is there a call I can make to detect if the panel is being accessed at run-time via the webserver or not?

gschijndel
Posts: 210
Joined: Tue Jan 15, 2019 3:12 pm

Re: Possible to detect if panel is running in webserver?

Post by gschijndel »

The panel is running in ULC UX if the value of 'getApplicationProperty("platformName")' is 'ulc'.

Possible solutions to detect if the UI is using the webserver to get the panels can be found in How to find out that the code is running in the DesktopUI?

Post Reply
2 posts • Page 1 of 1