web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Dynamics 365 Community / Blogs / World of an IT guy / Hide +New button in the Cus...

Hide +New button in the Customer field

migsbeja Profile Picture migsbeja 655

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

This was originally posted here.

Comments

*This post is locked for comments