- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-20-2015 02:48 AM
How to hide/remove insert / insert and stay option from record
Solved! Go to Solution.
- Labels:
-
Integrations
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-20-2015 03:57 AM
Hello,
I am sorry for not making myself clear. The value which needs to be the same as the one you want to override is 'Action name', which for Insert is 'sysverb_insert' and 'sysverb_insert_and_stay' for Insert and Stay. This way, with a condition of 'false' should be able to hide them.
Also note that 'Active' needs to be True.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-20-2015 03:52 AM
Hi Pradeep/Filip,
I am able to hide the button available on the form using below client script, could you please help me to modify the code and make it to hide context menu.
var items = $$('BUTTON').each(function(item){
if(item.innerHTML.indexOf('Update') > -1){
item.hide();
}
});
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-20-2015 03:57 AM
Hello,
I am sorry for not making myself clear. The value which needs to be the same as the one you want to override is 'Action name', which for Insert is 'sysverb_insert' and 'sysverb_insert_and_stay' for Insert and Stay. This way, with a condition of 'false' should be able to hide them.
Also note that 'Active' needs to be True.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-20-2015 04:09 AM
Thanks a lot Filip, it works as expected..