Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Suggested answer

Lookup Field Security on Forms

Posted on by 40

Hello,

I have a few lookup fields on one of my forms and I am running into an issue.

when the form loads it not only checks users privileges for the current record but also the privilege's for any related table when the lookup field appears on the form.

It does not prevent the user from reading the field but throws a vague permissions error. 

pastedimage1657113970533v1.png

I know the tables causing the error but do not want these users to have the security to access these tables directly. 

I can not remove the fields from the form as they are referenced by for asset validation in MS script. 

any thoughts? 

  • Suggested answer
    Bipin D365 Profile Picture
    Bipin D365 28,964 Super User 2024 Season 1 on at
    RE: Lookup Field Security on Forms

    Hi,

    Why don't you create your own custom form and add field which are required for your Business instead of using OOB form.

  • anavrin Profile Picture
    anavrin 40 on at
    RE: Lookup Field Security on Forms

    I tried to hide the fields on the forms using the form editor and still had the same issue

    would hiding it with JavaScript make a difference?

    I would think it would not because I would expect the Microsoft event handler to run first

    *Edit*

    How would I go about suppressing the Microsoft error message?

  • Suggested answer
    RodRodriguez Profile Picture
    RodRodriguez on at
    RE: Lookup Field Security on Forms

    Howdy,

    You could hide the fields using JavaScript.  You could put in a check to see if that access is denied message will show up, if so, then hide the fields (they will still be on the form but the user won't see them) and then suppress the error message.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans