Troubleshooting
Problem
Save Button does not Save in Single Page App even though the permission group was granted Delete, Insert, Read and Save privileges.
Symptom
Upon creating a custom Single Page Application in Application Designer, the process resulted in an application with an Insert New icon being displayed on the toolbar.
This is not a normal behavior for a Single Page Application, as records are added by clicking on the corresponding table window's New Row button.
The Save icon also displays (as is normal) but it only worked for the first time, afterwards, it becomes grayed out and unavailable.
The only way to save new records was by allowing the framework to save it on exit.
Cause
The Toolbar item for the SAVE icon was coded only for the MAIN tab. Single page applications do not have a MAIN tab, hence the Save icon does not 'Save'.
Resolving The Problem
Simply bring up the single page xml presentation in Application Designer and select Add/Modify Toolbar Menu in the Select Action menu, expand the key values in SAVE.
Then select ALL for the Tabs (MAXMENU.TABDISPLAY) field as shown below:
Was this topic helpful?
Document Information
Modified date:
17 June 2018
UID
swg21625575