Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Submit leads from a browser using JavaScript

Posted on by Microsoft Employee

We have a single page application running in a browser and want to include forms, wich can submit data to microsoft dynamics.

I've seen that the web api supports JavaScript: https://msdn.microsoft.com/en-us/library/mt770370.aspx

But I have no idea how I can submit form data by the web api.

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Submit leads from a browser using JavaScript

    The links look useful. I'll have to check them later. Thanks!

  • Verified answer
    prt33k Profile Picture
    prt33k 6,907 on at
    RE: Submit leads from a browser using JavaScript

    Hi Matthias,

    To develop SPA, you need to register that in Azure portal. Once that is done, the authentication can proceed using the SDK method.

    Here is a step-by-step guide for building SPA and retrieving data. Same can be use for submitting Create request.

    msdn.microsoft.com/.../mt595797.aspx

    Do let me know of you need further help.

    Thanks,

    PS

  • Verified answer
    Jason M. Cosman Profile Picture
    Jason M. Cosman 5,234 on at
    RE: Submit leads from a browser using JavaScript

    Hey Matthias;

    There are a ton of great blog posts out there on creation through the web api.

    community.dynamics.com/.../crud-operations-using-dynamics-crm-2016-web-api

    or msdn.microsoft.com/.../mt593051.aspx

    Let me know if you have any specific examples or if this is enough to get you going! Cheers

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!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans