Need to hide "Edit" button from Approval Related List in SOW view
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2024 05:19 AM
Hello All,
URGENT : OOB we don't have approval related list EDIT button so i created Edit button with the help of Action assignment
function onClick() {
var _strLink =
'/sys_m2m_template.do?' +
'sys_is_list=true&' +
'sys_is_related_list=true&' +
'sysparm_collectionID=' + g_form.getUniqueValue() + '&' +
'sysparm_query=&' +
'sysparm_referring_url=' + location.pathname + '&' +
'sysparm_stack=no&' +
'sys_target=sysapproval_approver&' +
'sysparm_m2m_ref=sysapproval_approver&' +
'sysparm_collection_key=sysapproval&' +
'sysparm_collection_label=Approvers&' +
'sysparm_collection_related_field=approver&' +
'sysparm_collection_related_file=sys_user&';
var win = top.window.open(_strLink, '_self');
win.focus();
}
but i want that EDIT button to be visible to only one catalog item. in default view i did it with the omit edit option. i want the same in sow view too. I just want to hide that button for all catalog items except one. Kindly help me with this.
0 REPLIES 0