web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Is it possible to to retrieve entity record in CRM using JavaScript?

(0) ShareShare
ReportReport
Posted on by

Hello,

Suppose I have an entity called Contact and a field called name in Contact. I want to use JavaScript to retrieve and display name in each record on an external webpage.

Can anyone show me how this can be done?

Thank you!

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Aric Levin - MVP Profile Picture
    30,190 Moderator on at

    Hi Heimmu,

    You can do this by using dynamics crm webapi.

    What type of web page are you talking about?

    You can take a look at the following api library from David Yack:

    github.com/.../Xrm.Tools.CRMWebAPI

    Hope this helps.

  • Suggested answer
    RaviKashyap Profile Picture
    55,410 Moderator on at

    Hi Heimmu,

    You need to wrie custom login in your external webpage to connect to CRM and retrieve the required details (in this case name) and then display it on your web page.

    As suggested above you can take a look at the helper WEBAPI library.

    Hope this helps.

  • Suggested answer
    Syed Ibrahim Profile Picture
    6,257 on at

    You need to connect crm in your web app project using XrmTooling.Connector and start accessing crm data to your webpage. You can refer the below video tutorials how to connect crm to custom web form.

    https://youtu.be/0SgQ7Z1MANU

    Hope this helps.If the suggestion resolved your query .Pls mark it as answered/verified to close the thread.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
ScottDurow Profile Picture

ScottDurow 2

#2
GJones Profile Picture

GJones 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans