Hi,
In CRM 2011, you might have experienced “$ is undefined” error, while calling OData Service using JQuery.
Reason’s: –
- JQuery native support is not available in Microsoft CRM 2011.
- This was the exact reason why the Javascript was unable to recognize ‘$’ symbol.
Fix:-
The easiest way to get this working is by creating a new “Webresource” and adding “Jquery min” file to it.
Steps to follow :-
- Go to http://jquery.com and then to Download the Jquery file (i.e., jquery-1.6.2.min.js)
- find the latest Jquery min (select the minified version, at the time of writing ‘jquery-1.6.2.min.js‘ was the latest)
- Now go to CRM 2011 and create a web resource
- Add the new Web resource by name JQueryMin1.6.2 (JQuryMin<Verion>)
- Upload the Downloaded file to JQuery to this web resource.
- Now add this web resource to which ever form you want to use JQuery API
Hope this helps 🙂

![[Step by Step] Beginner : Create a PCF control and add it to a custom page](https://rajeevpentyala.com/wp-content/uploads/2024/12/image-49.png)

Leave a comment