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? 

  • Suggested answer
    Bipin D365 Profile Picture
    28,981 Moderator 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
    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
    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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Daivat Vartak (v-9davar) Profile Picture

Daivat Vartak (v-9d... 225 Super User 2025 Season 1

#2
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 106

#3
Vahid Ghafarpour Profile Picture

Vahid Ghafarpour 82 Super User 2025 Season 1

Overall leaderboard

Product updates

Dynamics 365 release plans