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)

Use TypeScript with a Dynamics CRM 2013 Package

(0) ShareShare
ReportReport
Posted on by 204

Hi,

I am able to create and deploy JavaScript files as webresources to Dynamics CRM through a Visual Studio package of type Dynamics CRM 2013 package. Is it possible to use TypeScript here? I cannot add any TypeScript file to the project via right click - add - new item...

Kind regards,

Kai

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    sandeepstw Profile Picture
    4,601 on at

    Hi Kai,

    you can add any javascript file as web resource. Otherwise first create a blank javascript file and then update type script there.

    Thanks,

    Sandeep

  • KaiHartmann1981 Profile Picture
    204 on at

    Hi Sandeep,

    thank you for the info. But how would Visual Studio know to compile the TypeScript to JavaScript?

  • Suggested answer
    sandeepstw Profile Picture
    4,601 on at

    hi,

    Install type script package in vs.

    www.microsoft.com/.../details.aspx

  • Verified answer
    KaiHartmann1981 Profile Picture
    204 on at

    Hi Sandeep, thanks for the hints.

    I had to do some additional stuff to get it to work, though. I created a 'Dynamics CRM 2013 Package' (needs the Microsoft CRM Developer Toolkit) in Visual Studio, and after installing TypeScript, added another project of type 'HTML Application with TypeScript' to the solution.

    Afterwards I added a post build action to this project, which copies the compiled JavaScript files to the Dynamics project. After adding these files there everything works fine.

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 March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans