- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
‎03-07-2016 05:01 PM
We want to hide the UPDATE and SAVE UI Action form button on the approval form
I added the approval view with EXCLUDE for the save button but that didnt work, when i set it to INCLUDE it hides it for all tables. its doing the opposite that it should or am i missing something?
Solved! Go to Solution.
- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
‎03-07-2016 05:33 PM
The Approval form is not Approval view, the view used on the Approval form is the "Default" one.
If you want to hide it just on the approval form, do the same you did for the table "new_call", adding a condition to make sure the Table is not "sysapproval_approver" (... && current.getTableName() != 'sysapproval_approver').
Hope it helps!
- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
‎03-10-2016 04:52 AM
Did you modify the button or did you create a new one with this configuration?
Be careful changing the OOTB button Table, since you're basically saying this button should not be shown in any other table.
If you created a new button, with the same Action Name, then you're overriding the Global button, that is a perfect solution.
- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
‎03-10-2016 08:46 AM
I made a new one with the same title to overwrite like you said, perfect, thanks again
- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
‎03-07-2016 10:40 PM
You can add this onLoad client script.
function onLoad() {
//Type appropriate comment here, and begin script below
var items = $$('BUTTON').each(function(item){
if(item.innerHTML == 'Save'){
item.hide();
return;
}
});
}
- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
‎03-08-2016 04:13 AM
It works, but it's not recommended to use DOM; Makes a lot more difficult for future administrators to find out where the button is being hidden.
