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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

JavaScript and Field Level Security Conflict

(0) ShareShare
ReportReport
Posted on by 247

Can javascript update a field with field level security where the user can only read the field (user does not have update privileges) ?  I have this scenario where in CRM 2013 the user did not have update permissions but javascript was able to update the field.  In D365, an error is given that the user needs the ability to update the field when the java script is trying to update that field. Did something change?

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Goutham A Profile Picture
    2 on at

    Yes, it should give error if FLS has no update privilege.

    Probably, this was a defect in 2013 which was corrected/resolved in later releases

  • Suggested answer
    gdas Profile Picture
    50,091 Moderator on at

    Hi Tara,

    Are you sure that you can update secured field using JavaScript in CRM 2013? I have doubt, might be some impersonation you did  inside your code in CRM 2013. I believe this is the major usecase to introduce FLS by MS.

    There was no major changes did as per the logic behind FLS , whenever you call SDK method no matter whether you are calling from JS or server side it should throw error.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans