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

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Manage develop and deploy javascripts from Visual studio

(0) ShareShare
ReportReport
Posted on by

Hello Experts,

I would like to know how you manage develop and deploy/publish javascripts from visual studio to CRM.

My CRM is currently 8.2 and planning to upgrade soon. Any references would be appreciated.

Thanks,

Praveen V

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Adrian Begovich Profile Picture
    1,027 Moderator on at
    RE: Manage develop and deploy javascripts from Visual studio

    Hi Praveen Vuppuluri,

    I develop JavaScript code in Visual Studio, press CTRL + A to select all of my JavaScript code and CTRL + C to copy the selected code, and I paste the code into a web resource by pressing CTRL + V.

  • Aric Levin - MVP Profile Picture
    30,190 Moderator on at
    RE: Manage develop and deploy javascripts from Visual studio

    You can try using CRM Developer Extensions by Jason Lattimer.

    github.com/.../D365DeveloperExtensions

    I don't think it is supported in Visual Studio 2017, but you can use it with earlier versions.

    Hope this helps.

  • Suggested answer
    Adrian Begovich Profile Picture
    1,027 Moderator on at
    RE: Manage develop and deploy javascripts from Visual studio

    Hi everyone,

    You can use the Dynamics 365 Developer Extensions for Dynamics CRM/365 Customer Engagement with Visual Studio 2017 by following this guide.

  • Community Member Profile Picture
    on at
    RE: Manage develop and deploy javascripts from Visual studio

    Thank you, i would like to see if people suggesting any answers where they really applied on how they maintain their JS code repository (like source control) and continuous development and continuous deployment

  • Flydancer Profile Picture
    1,332 on at
    RE: Manage develop and deploy javascripts from Visual studio

    I am using the XRMToolkit to deploy js & webresources directly from Visual Studio. All JS Scripts are in one VS-Solution, backed by TFS and having one Solution for each Organization.

  • Community Member Profile Picture
    on at
    RE: Manage develop and deploy javascripts from Visual studio

    Hi Adrian,

    Thank you for response, this is what we do currently. Looking for more modernized way and mostly being used by people around here

  • Inogic Profile Picture
    651 on at
    RE: Manage develop and deploy javascripts from Visual studio

    You can make use of this tool (https://github.com/scottdurow/SparkleXrm/wiki/spkl) to achieve what you need.

    Thanks!

  • Suggested answer
    Adrian Begovich Profile Picture
    1,027 Moderator on at
    RE: Manage develop and deploy javascripts from Visual studio

    Hi Praveen Vuppuluri,

    I like to keep it real simple by using Team Foundation Server (TFS) for source control, and copying the JavaScript code into Dynamics 365 when I need to. I have not found the need to move into continuous deployment, but I recognise that this approach may not suit everyone.

  • Community Member Profile Picture
    on at
    RE: Manage develop and deploy javascripts from Visual studio

    Hi Flydancer,

    This is exactly what i am looking for, do you have any guide or process on how you maintain this? are you using XRMToolkit as addon to VS?

  • Suggested answer
    Adrian Begovich Profile Picture
    1,027 Moderator on at
    RE: Manage develop and deploy javascripts from Visual studio

    Hi Praveen Vuppuluri,

    There is a process to it. I create a solution in Visual Studio, and then in my solution I create projects for categories such as web resources, plugins, console applications, and testing. In the web resources solution I will create a folder for each web resource type I plan on using. E.g., a JavaScript folder for storing .js files.

    Web-resource-types.png

    Once I am happy with the Visual Studio solution, I check in my code to Team Foundation Server (TFS), and deploy the updated code to the correct instances.

    Here is a guide on publishing web resources to CRM with XrmToolkit.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Community Member Profile Picture

Community Member 2

#1
UllrSki Profile Picture

UllrSki 2

#3
SC-08081331-0 Profile Picture

SC-08081331-0 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans