I have an app that uses a form to capture a comment from a user when a specific action is taken. Part of my rpg program retrieves the nabUser app variable to stamp an audit record. This works fine in the desktop version of my app, but the mobile version does not pick up the nabUser value. Is this a bug or am I doing something wrong?
Announcement
Collapse
No announcement yet.
Retrieving nabUser in mobile
Collapse
X
-
Unfortunately, we cannot replicate this on an Android or iPhone device.
Could you please create a brand new NAB application, place any widget in it, please do not add any new app variables to it, and then add a button to the widget?
This button should call a new RPG program, which is based on EXNABBTN. The program's sole function is to respond with the 'nabUser' value via the 'info'.
Below is the only RPG code that should be in the process procedure.
Please let use know if you see the user in the front-end's info message at the bottom of the applicationCode:SetResponse('success':'true'); SetResponse('info':GetAppVar('nabUser'));
Thanks
Comment

Comment