Possible to detect if panel is running in webserver?
Search
Possible to detect if panel is running in webserver?
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?
-
- Posts: 210
- Joined: Tue Jan 15, 2019 3:12 pm
Re: Possible to detect if panel is running in webserver?
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?
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?