petey1
13th May 2014, 18:47
I'm wondering if there's a command like getenv$("UI") to have my session know what the user is interfacing LN with.

It looks that I will have to "most likely" support all three interfaces. The easy answer is to say all users have to use LN UI, but as WEB UI is very much different than LN UI and I have finance people demanding Worktop, I'm pretty much out of luck.

With LN UI, the server2client will not work and it's recommended by infor to use start.application.local() as server2client is being "obsoleted". This is fine, but the start.application.local() does not work in worktop or webui (the latest versions of each).

I do have an active case on support that I created last week. Thanks in advance for any help anyways.
-pete

ulrich.fuchs
13th May 2014, 19:27
Syntax:
function long get.ui.mode ()

Description

This returns a long value that indicates the UI mode in which this session is running. The possible values are:

NO_UI without a User Interface
BW_UI UI is bw client
WEBUI_CLASSIC UI is thin-client in classic mode
WEBUI_COMMONUI UI is thin-client in commonUI mode
HTML_UI UI is thin-client running in HTMLUI mode



hope that helps
Uli

petey1
13th May 2014, 20:54
I got it to work.

me wonders how you knew about the command as it's not in the programmer's guide....

Much appreciated though.

thanks

Han Brinkman
13th May 2014, 21:11
With each release of the enterprise server Infor delivers a new programmers guide as well. Do you have the version belonging to your tools version?

petey1
13th May 2014, 21:33
dope slap me on that one Han.
thanks for the reminder.

Nagarjuna
13th December 2017, 07:52
I'm wondering if there's a command like getenv$("UI") to have my session know what the user is interfacing LN with.

It looks that I will have to "most likely" support all three interfaces. The easy answer is to say all users have to use LN UI, but as WEB UI is very much different than LN UI and I have finance people demanding Worktop, I'm pretty much out of luck.

With LN UI, the server2client will not work and it's recommended by infor to use start.application.local() as server2client is being "obsoleted". This is fine, but the start.application.local() does not work in worktop or webui (the latest versions of each).




I do have an active case on support that I created last week. Thanks in advance for any help anyways.



-pete


Hi Team,

Can you suggest how to upgrade LN web UI ?

thank you
Nag

bhushanchanda
14th December 2017, 08:45
Hello,

Please start a new thread for a new topic. The topic is unrelated to the original thread.