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)

CRM C# Plugin to use Jquery and Ajax

(0) ShareShare
ReportReport
Posted on by 2

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

I have the same question (0)
  • Suggested answer
    RaviKashyap Profile Picture
    55,410 Moderator on at

    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

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