$813 serverless mode not working Help please
Hi Jay,
Do rtRemoteForm.$showmessage(‘this is the message’,’title’)
This line doesn’t make sense if executed from client, only
$cinst.$showmessage() will work :
Do $cinst.$clientcommand(‘yesnomessage’,lRow)
This line can also trigger the error you get if lRow is not properly
defined,
to make it easier, you should stick to the simpler row function
notation
Do $cinst.$clientcommand(‘yesnomessage’,row(‘message text’,’title
text’,’$onNoClick’,’onYesClick’))
hth
Regards
Bruno
By Design
[1]http://www.bydesign.fr
Bruno Del Sol
[2]bruno.delsol@bydesign.fr
tel (33) 01 48 78 47 37
46, rue de La Tour d’Auvergne
75009 Paris (France)
Le 31/12/2017 à 14:01, Omnis Newbie a écrit :
Hi Omnis people,
I’m a student learning Omnis and I am having trouble using
serverless and I’m hoping someone out there can help.
I have created a very small app to test on my android 7 phone and I
just can’t get it to work. I have gone through a couple tutorials,
tried the applets and examples and everything seems to work on my
desktop but not on the android.
To make this app as simple as possible for testing I only put one
button on the remote form that should simply present a message. I
have tried the following plus many others but I still get the error.
Do $cinst.$showmessage(‘message’,’title’)
Do rtRemoteForm.$showmessage(‘this is the message’,’title’)
Do $cinst.$clientcommand(‘yesnomessage’,lRow)
Here’s the error I get…
“Exception occurred when
Executing client method:
a[h] is not a function”
Omnis Studio Pro 8.1.3
Serverless Lic = yes
Serverlessclient=yes
$event set to Execute on Client = yes
Latest version of Android Studio = yes
Config.xml set to serverless mode (no local db no sessions), the
remote form is set
The app installs with no problems, the form loads and looks great.
Can anyone tell me what I am not getting right here?
Much appreciation
Jay
_____________________________________________________________
Manage your list subscriptions at [3]http://lists.omnis-dev.com
References
1. www.bydesign.fr/
2. mailto:bruno.delsol@bydesign.fr
3. lists.omnis-dev.com/
_____________________________________________________________
Manage your list subscriptions at lists.omnis-dev.com