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 :
Microsoft Dynamics CRM (Archived)

Web Resource Libraries - Failed to load resource: the server responded with a status of 404 (Not Found)

(0) ShareShare
ReportReport
Posted on by

I have been playing around with web resources recently, trying to learn the ins and outs. 

What I have made is a very simple HTML web resource, that uses a few JS libraries. The goal of the web resource is to create a simple multi-select that can access a set off data in CRM and list them, save changes etc. 

However I am stuck on the CRM integration part because it's failing to load the libraries.
All libraries have been uploaded to CRM as seperate web resources and I have made sure naming is correct all around.

Unfortunately the information I have been following on this project is an older one, using the SDK delivery system (CRM 2013). And I am working with CRM Online and had to upload it manually. So I guess I might be missing something important. 

The libraries I am trying to get a hold of is: 

<script type="text/javascript" src="../ClientGlobalContext.js.aspx"></script>
<script type="text/javascript" src="jquery_1.11.3.js"></script>
<script type="text/javascript" src="SDK.REST.js"></script>

Ps. If anyone knows some good sources on CRM Online development, I would love to know. 


Any help would be appreciated :) Thank you

- MrLorgy

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Community Member Profile Picture
    on at

    Hi,

    It is stored in the WebResource folder on the server, please reference these as follows:

    <script type="text/javascript" src="../WebResources/prefix_name"></script>

    Thanks,

    Piotr

    PS. Please mark as correct answer if happy with suggestion.

  • Community Member Profile Picture
    on at

    Piotr pointed out what I was missing :)

    NOTE: I noticed it only worked for the ClientGlobalContext first try, that was because I had forgotten to prefix the other two webresources with the Solution I was using for delivery.

    So

    <script type="text/javascript" src="../WebResources/ClientGlobalContext.js.aspx"></script>

    <script type="text/javascript" src="../WebResources/"solution prefix"_jquery_1.11.3.js"></script>

    <script type="text/javascript" src="../WebResource/"solution prefix"_SDK.REST.js"></script>

    Is what ended up working. :)

    For anyone else, you can see the full path of the webresource in the solution when you upload it, and you can always go back if you forget. :)

    - MrLorgy

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 > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans