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 :
Customer experience | Sales, Customer Insights,...
Suggested Answer

Lookup Field Security on Forms

(0) ShareShare
ReportReport
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? 

I have the same question (0)
  • Suggested answer
    RodRodriguez Profile Picture
    on at

    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.

  • anavrin Profile Picture
    40 on at

    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
    Bipin D365 Profile Picture
    28,983 Moderator on at

    Hi,

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

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 > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 108 Super User 2025 Season 2

#2
Jimmy Passeti Profile Picture

Jimmy Passeti 50 Most Valuable Professional

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 49 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans