Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

CRM C# Plugin to use Jquery and Ajax

Posted on by

Hi all,

Below image shows my Jquery with Ajax code 

WCF-AJax.PNG

Where in the code i'm fetching field values and POSTing it to the URL in JSON format.

I want to achieve same thing in C# plugin fetching the values from fields i can use query Expression but i need to use AJAX in the C# code how i'll achieve this?

Any help would be Appreciable..

*This post is locked for comments

  • Suggested answer
    RaviKashyap Profile Picture
    RaviKashyap 55,410 on at
    RE: CRM C# Plugin to use Jquery and Ajax

    Hi Puneet,

    AJAX is used to call the web api from javascript. If you need to query records from web api without using queryexpression. You can follow the sample available in SDK.

    Refer these:

    docs.microsoft.com/.../web-api-query-data-sample-csharp

    docs.microsoft.com/.../web-api-query-data-sample-csharp

    Hope this helps.

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