Hello
How can I intercept/replace the New button click of lookup field?
Thanks.
Hello
How can I intercept/replace the New button click of lookup field?
Thanks.
Hi Marina Karapetyan,
as an alternative to PCFs, you can:
Hi Marina,
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.
Thanks,
Prateek
Hello Prateek,
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 ?
Hi Marina,
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.
Thanks,
Prateek
André Arnaud de Cal...
293,138
Super User 2025 Season 1
Martin Dráb
231,895
Most Valuable Professional
nmaenpaa
101,156
Moderator