This website uses cookies for visitor traffic analysis. By using the website, you agree with storing the cookies on your computer.More information

--Getting environment information on server-side

Information about development with ProjX.

--Getting environment information on server-side

Postby Development@SIB » Tue Oct 01, 2013 3:13 pm



This article is outdated - please use our new system at

https://doc.sibvisions.com




If you want to know the launch environment of your client on server-side, simply use LifeCycleUtil to get the information. The information is stored as connection property of Master and SubConnections.

Simply call:

Code: Select all
LifeCycleUtil.getEnvironmentName();

or, e.g.

Code: Select all
LifeCycleUtil.isDesktopEnvironment();

on server-side.

This methods are similar to the client-side methods of UILauncher (see details).
User avatar
Development@SIB
 
Posts: 325
Joined: Mon Sep 28, 2009 1:54 pm

Return to Documentation