The other day it was necessary to hide the “+new” button that exists in the Customer field in the Opportunity/Quote, because that button when clicked opens the windows for a new Contact.
I tried to use some javascript code to change the option, instead of, open the Contact, opens the Account, but didn’t work.
So this is a way that can be used to hide that button:
document.getElementById("customerid_i").attributes[19].value = "account:true,contact:false";
Changing the “contact:true” to “contact:false”, does the work.
Hope this helps.
Filed under: Dynamics CRM, Javascript Tagged: CRM, CRM 2013, Dynamics CRM, Javascript

Like
Report
*This post is locked for comments