Some time ago you gave me some code that allowed me to hide custom action buttons in the ribbon. I am trying to make this work for hiding the “Attach File” icon in the ribbon. Will this code, when customized, work to hide this icon?
function hideAttachFile(){
spjs.$(“#\\{0293A6EF-6B2D-4C81-B992-69163627AB55\\}-Large”).hide();
}
Here is the info for the icon (not sure which one to use, if any):
Ribbon.ListForm.Edit.Actions-LargeLarge-0-0
Ribbon.ListForm.Edit.Actions.AttachFile-Large
Ribbon.ListForm.Edit.Actions