Suggestion for Logon - RDMLX

Please do not use to report errors- use your regional help desk.
Please mark posts as being for RPG or RDMLX (LANSA) developer.
To subscribe by email, display this forum, scroll to the end and select ‘Subscribe Forum’.
Post Reply
kno_dk
Posts: 45
Joined: Wed Oct 17, 2012 4:19 am

Suggestion for Logon - RDMLX

Post by kno_dk »

Hi

I have to build a longrange App for a customer. They want their customers to logon befor they can do more in the app. So, I have to build the menu so if the customer is not logon the only thing they can select is the logon. After succesful logon it should be possible to search for item and see price, stock and so on.

Do you have an exsample for this?

Is it possible to save the user/password on the device so next time they open the app they are logon?
Mark_Dale
Posts: 61
Joined: Thu Apr 19, 2012 11:06 am

Re: Suggestion for Logon - RDMLX

Post by Mark_Dale »

There is a basic example of logging on, and menu enablement, in shipped example LRULOGON (and LRULOGOFF)

To plug it in, you open the schema --> schema properties --> Application settings --> Setup Menu FormView
stevec
Posts: 138
Joined: Thu Aug 23, 2012 6:45 am

Re: Suggestion for Logon - RDMLX

Post by stevec »

I customized the logon and did some things like newform false on a bad user/password so that did not need retyped, set my shared variables the cross forms to null, display a message from my all form plumbing component to check if system available (daily backups, timeout, etc) if it was redirected (and redirect right back after log on where they were), and also set the user who signed on as the current user (rather than the default http user) as we use that for many settings and normal lansa system variable derivations.
Post Reply