How to Hide +New Button from the lookup in CRM 2015. if any one does please share the code
Hello,
There is no supported way of doing that. What you can do in supported way is to remove possibility of creation of new records of particular type using security roles.
Dynamics CRM MVP My blog
As Andrii correctly say there is no supported way to do this
but if you want to do unsupported option it is specified in following thread for CRM 2013 (should be similair for CRM 2015 as well)
https://social.microsoft.com/Forums/en-US/b431c45d-4ef9-416c-b234-de24b7ccba99/how-to-hide-new-button-in-lookup-field-in-crm-2013?forum=crmdevelopment
MayankP My Blog Follow Me on Twitter
Hi Mayank,
the code which you have share will hide new button in the Lookup (Lookup for more records) only it not hiding in the main +New Button