web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

how to disable New button on look up record using javascript

(0) ShareShare
ReportReport
Posted on by 40

181425.Capture.PNG

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Shidin Haridas Profile Picture
    3,499 on at

    Control it via security roles.

  • Suggested answer
    Preeti Sharma Profile Picture
    2,678 on at

    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:)

  • Brekaa Profile Picture
    40 on at

    Hi Shidin Haridas

    I dont want to do it from security roles

  • Brekaa Profile Picture
    40 on at

    Hi Preeti Sharma

    I dont want to do it from security roles

  • gdas Profile Picture
    50,091 Moderator on at

    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 ?

    community.dynamics.com/.../281002

  • Brekaa Profile Picture
    40 on at

    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

  • Suggested answer
    gdas Profile Picture
    50,091 Moderator on at

    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.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans