Page 1 of 1

--Getting environment information on server-side

PostPosted: Tue Oct 01, 2013 3:13 pm
by Development@SIB


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).