RE: Is supported editing the Customization.XML?
hi
you can modify the customization.xml file in Microsoft Dynamics 365 to disable the "+ New Contact" button on a lookup field. Here are the steps to do it:
Export the solution: Before you can modify the customization.xml file, you need to export the solution from Dynamics 365. You can do this by going to Settings > Solutions, selecting the solution you want to export, and clicking the "Export" button.
Edit the customization.xml file: Open the exported solution file and locate the customization.xml file. You can edit this file using a text editor or an XML editor. Look for the <Control> element that corresponds to the lookup field you want to modify. Within this element, add a new parameter called "disableNewButton" and set its value to "true". This will disable the "+ New Contact" button on the lookup field.
Import the solution: Once you have edited the customization.xml file, save the changes and import the solution back into Dynamics 365. You can do this by going to Settings > Solutions, clicking the "Import" button, and selecting the modified solution file.
Publish the changes: After you have imported the solution, you need to publish the changes to make them active. You can do this by going to Settings > Customizations > Customize the System, selecting the modified solution, and clicking the "Publish All Customizations" button.
By following these steps, you can disable the "+ New Contact" button on a lookup field within the contact form in Dynamics 365. However, keep in mind that modifying the customization.xml file directly can be risky and can cause issues if not done properly, so it's important to test the changes thoroughly before deploying them to a production environment.
DAniele