Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Answered

Hide lookup field add new + button but user can still create record from main form

(1) ShareShare
ReportReport
Posted on by 2,528
Hi All
Is there a supported way to hide to + add new button from lookup fields? Users need the ability to add record from main menu so cannot change security
Example below but a real use case.
  • Samantha73 Profile Picture
    Samantha73 2,528 on at
    Hide lookup field add new + button but user can still create record from main form
    I don't think changing the XML via xrm toolbox is supported and might have impact on future upgrades
  • Nitesh Raj Profile Picture
    Nitesh Raj 50 on at
    Hide lookup field add new + button but user can still create record from main form
    Hello,

     I found this blog, which might work for you: DYNAMICS CRM/MODEL-DRIVEN APPS

    Still, If your use case is only for "currencies", you can use one option set with predefine options.

    If this answer helps you, consider approving it.

    Thanks,
    Nitesh
  • Verified answer
    Tom_G Profile Picture
    Tom_G 128 on at
    Hide lookup field add new + button but user can still create record from main form
    I don't believe there is a way to disable that option from the Out of Box lookup field, and the security roles are not details enough to define specific creation points on records (it's an all or nothing thing for create permissions).
     
    You could maybe look at replacing the lookup field on the form with a custom PCF control? This would replace the default lookup field control and some of them have options to allow you to prevent new record creation.
     
     
    Something like the above control changes the Lookup field to a dropdown, and I believe it allows you to prevent new record creation as well. The installation process is not too bad, but reply back if you run into any issues. 

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Share Your Event with the Community

Jump start your event engagement! 📢

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,961 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,717 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans