*This post is locked for comments
Hi Brekaa,
Hiding new button in popup is not possible as there is no way to write any event in the popup window. Reason why we suggest not to do this type of unsupported customization as you don't have control of all forms in dynamics CRM. You also can't hide in advance find window as well.
Use security role and remove create privilege from that entity , which will hide forms and popup as well.
Hi Goutam Das
its working
but i want to disable new button on popup
i try to use same code in this case but not work
Hi ,
There is no supported way you can hide the new button except security role.
I have found in the below thread and you verified doing unsupported way , it is not working ?
Hi Preeti Sharma
I dont want to do it from security roles
Hi Shidin Haridas
I dont want to do it from security roles
Hi,
You can remove access of creating a new record for such user on Entity "Employee" in order to hide this new button
Hope this Helps:)
Control it via security roles.
Mohamed Amine Mahmoudi
83
Super User 2025 Season 1
Community Member
54
Victor Onyebuchi
6