Page 1 of 1

How to detect if the web page is running on LANSA Mobile

Posted: Tue Mar 22, 2016 1:47 pm
by MegumiSawada
Hi All,

Is there any way to detect if the web page is running on LANSA Mobile?
Any methods? Any variables?

Our customer would like to detect it before using widget to avoid causing error.

Best Regards,
Megumi Sawada

Re: How to detect if the web page is running on LANSA Mobile

Posted: Tue Mar 22, 2016 4:02 pm
by anthony
Hi Megumi,

you should handle the widgets "Initialize" event. When the event is received you know that you are running in the LANSA Mobile application. No widget functionality should be run until this event is received.

See the LANSA documentation... http://docs.lansa.com/140/en/lansa013/i ... s%7C_____1

Regards,
Anthony

Re: How to detect if the web page is running on LANSA Mobile

Posted: Tue Mar 22, 2016 5:20 pm
by MegumiSawada
Hi Anthony,

Thank you for your reply!
I'll let the customer know this.

Best Regards,
Megumi Sawada