How do I hide the 'Insert' and 'Insert and Stay' buttons from the Approval form
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-20-2016 12:34 PM
Hi: Not sure why I'm seeing 'Insert' and 'Insert and Stay' buttons on the Approval form. Should these display OOB. What's the best way to hide them for the sysapproval_approver table (or restrict to admin)? Thanks, Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-21-2016 06:58 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-21-2016 07:43 AM
All conditions must be met for the button to appear.
isAdvancedUI() && current.canCreate() && (!current.instanceOf('task') || gs.getProperty('glide.ui.task.insert') == 'true') && (!current.instanceOf('sys_db_object'))
I suspect some of them are failing. For one, glide.ui.task.insert is false by default and sysapproval_approver is not an instance of task.