How do I hide the 'Insert' and 'Insert and Stay' buttons from the Approval form

ritaaudi
Tera Contributor

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

6 REPLIES 6

Hi Chuck: That's interesting. I have a developer instance and when I lookup Insert for Global table, I see the following. So it appears that the insert button UI action is available OOB, but I don't see it on the Approval form on the developer instance, Why is that??


find_real_file.png


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.