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

Notifications

Announcements

No record found.

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,497 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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans