Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

Javascript Not running unless the user is an crm administrator

Posted on by Microsoft Employee

Hello,

I have a problem. I added a javascript-webresource in the onload of the opportunity form. 

When I open the form as a crm administrator the javascript runs without any problems. But when another user opens the form (not a admin) the javascript does not run.

Is this because of any security roles?

Please I really need help with this.

Thank you,

Angel 

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Javascript Not running unless the user is an crm administrator

    Thank you! You are totally right.

  • Verified answer
    ashlega Profile Picture
    ashlega 34,475 on at
    RE: Javascript Not running unless the user is an crm administrator

    Hi Angel,

     I don't think it has anything to do with the security roles, but you may want to check a couple of things:

    - Is that user looking at the same form where you added the script? There can be multiple forms

    - Ask them to try the same in the private browsing mode just to make sure it's not a caching issue

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!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans