Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

How to do CRUD operations in Microsoft Dynamics CRM using html page

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I want to do CRUD operations through HTML page without adding that page in Dynamics CRM's webresource(need to access crm from another web application).

Using C# we can connect with Dynamics CRM and can do get/add/edit/delete operations using CRM's dlls but I don't know the way of doing same from html page which is independent from CRM's webresource.

Can anybody please suggest me that is this possible or not and if yes then the way if there is any.

*This post is locked for comments

  • Suggested answer
    Nausher Sayeed Profile Picture
    Nausher Sayeed 520 on at
    RE: How to do CRUD operations in Microsoft Dynamics CRM using html page

    Chhaya, If you are not able to use the link which is provided by Mihir, then good to have MVC/ASP.net application and use CRM SDK to do CRUD operation.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: How to do CRUD operations in Microsoft Dynamics CRM using html page

    Hello!

    If HTML is outside of CRM web resources and thus outiside of *.crm.dynamics.com you can try to open the HTML in an iFrame and call "parent" window javascripts. But you'll get the cross-site scripting error, which can be resolved, though it's a bad practice.

    The best available solution is to build a one page asp.net web-site which will use standard CRM API.

    Any post on this page provided "as is" without warranty of any kind and is for educational and information purposes only. We disclaim any liability arising from any reliance placed on any post.


    Dynamica Labs http://dynamicalabs.com/

    Disclaimer:

    Any post on this page provided "as is" without warranty of any kind and is for educational and information purposes only. We disclaim any liability arising from any reliance placed on any post.

  • Suggested answer
    Mihir Maruti Kadam Profile Picture
    Mihir Maruti Kadam 700 on at
    RE: How to do CRUD operations in Microsoft Dynamics CRM using html page

    For each Office 365 tarent, there will be one Azure account. If you have licensed version of Dynamics CRM, then you will get access to Azure AD.  

    Please refer below link to know more about Azure subscription

    redmondmag.com/.../office-365-admins-get-azure-ad-access.aspx

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: How to do CRUD operations in Microsoft Dynamics CRM using html page

    Hi Mihir,

    Thanx for reply.But I have some confusion related this link.What I understand is for each dynamics crm account there should be one azure account.Is it correct that I understand?

  • Verified answer
    Mihir Maruti Kadam Profile Picture
    Mihir Maruti Kadam 700 on at
    RE: How to do CRUD operations in Microsoft Dynamics CRM using html page

    Hi Chhaya,

    you can do it using SPA.  Please refer below link

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

    If you found the answer helpful, please mark as Verified

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,458 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans