Search This Blog

Friday, August 4, 2017

Hide Ribbon button on form using javascript in crm 2015

var deativebtn=top.document.getElementById("button id");
 deativebtn.style.display="none";

Example:
var deativebtn=top.document.getElementById("cms_applicant|NoRelationship|Form|Mscrm.Form.cms_applicant.Deactivate");
deativebtn.style.display="none";

No comments:

Post a Comment