Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested answer

JavaScript is not working for particular users

(0) ShareShare
ReportReport
Posted on by 5

Hi All,

I have a piece of JavaScript code in the OnLoad event of a Financial form that contains a Subgrid which contains an entity called Adjustments with  1:N relationship.  I am using a web api call to pull back the to sum the Adjustment Amount and put it in a field called Total Adjustments on the Financials record.  There are 10 users, the code works for everyone except 3 users.  This user has tried edge, chrome, Mozilla, we have compared browser settings, they are all using the same role, one of the user's signed it from her machine with his credentials and it works which tells me it's browser or machine based.  I am not sure where else to look.  Any suggestions would be much appreciated.  Below is the code in use.

financial.PNG[View:/cfs-file/__key/communityserver-discussions-components-files/117/new-12.txt]

  • Liisa Profile Picture
    5 on at
    RE: JavaScript is not working for particular users

    Thank you for responding.  There is one user role.  I posted the code because it seems as if the code is getting blocked by something on his end.  We checked his browser settings and javascript is allowed.  I'm not sure where else to look.

  • Suggested answer
    Abdul Wahab Profile Picture
    12,085 Moderator on at
    RE: JavaScript is not working for particular users

    Hi Liisa,

    Map security role & teams of the user experiencing the error on to the test user. Debig the JS will help you a lot.

  • Ray Profile Picture
    1,507 on at
    RE: JavaScript is not working for particular users

    Is it possible that they have different privileges for the entity in sub grid records (Not role base, maybe shared or access team)?

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

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

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

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

#2
Vahid Ghafarpour Profile Picture

Vahid Ghafarpour 167 Super User 2025 Season 1

#3
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 138 Most Valuable Professional

Product updates

Dynamics 365 release plans