Personalized Community is here!
Quickly customize your community to find the content you seek.
Check out the latest Sales updates!Learn about the key capabilities and features of Dynamics 365 Sales and experience some of the new features.
Download overview guide | Watch Sales video
2021 Release Wave 2Discover the latest updates and new features releasing from October 2021 through March 2022.
2021 release wave 2 plan
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Community | FastTrack Program | Finance and Operations TechTalks | Customer Engagement TechTalks | Upcoming TechTalks | All TechTalks
How can I intercept/replace the New button click of lookup field?
You need to remove the 'Create' privilege from the users security role for lookup entity to hide the 'New' button.
That is the only supported way.
Thank you for your answer, but I want to write my own logic when click New button of lookup field.
So, I am going to write JS and customise button or command. Is it possible ?
D365 doesn't provide a way to customize the lookup control. So you won't be able to write JS on the + button in a supported way.
However, You can always build a custom PCF Control and add your functionality there.
Hi Marina Karapetyan,
as an alternative to PCFs, you can:
Business Applications communities