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 :
Customer Service forum

Angular 6 integration with CRM

(0) ShareShare
ReportReport
Posted on by

Please let me know is there any way to work with XRM in angular 6 typescript ,means how to get opportunity ID ,How to perform CRUD operations on Entities.

I tried bunch of code snippets but always failed when it comes to XRM . angular gives error while compiling "error TS2339: Property 'Xrm' does not exist on type 'Window'."

2018_2D00_07_2D00_26_5F00_2004.png

Categories:
I have the same question (0)
  • Community Member Profile Picture
    on at

    Please help

  • Suggested answer
    Arun Vinoth Profile Picture
    11,615 Moderator on at

    You have to install the definitely typed Xrm typescript to continue.

    Install-Package xrm.TypeScript.DefinitelyTyped

    Read more: [View:https://stackoverflow.com/a/42649298/7920473]

  • Andreas Cieslik Profile Picture
    9,267 on at

    As Arun mentioned XrmDefinitelyTyped is the way to go:

    A good introduction and guide can be found here:

    mktange.com/.../typescript-and-d365-crm

  • Community Member Profile Picture
    on at

    A small example would be more helpful and for insert or save data .

  • GinoJames Profile Picture
    15 on at

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Customer Service

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans