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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Dynamics CRM JavaScript Development - Best Practices?

(0) ShareShare
ReportReport
Posted on by 760

Hello,

This is more of a Q&A post. If there is a specific section dedicated to Q&A's please let me know and I will be happy to remove this post.


I'm just curious to see what seems to bet the "Best Practice" with how you manage your JavaScript development for version control? Do you use GitHub or another service? Also, can you setup CRM Forms to grab JavaScript automatically from a GitHub source or do you still have to keep the JavaScript in a CRM Web Resource?

I know enough about JavaScript to be dangerous in CRM but by no means am I an expert or have a ton of experience. Any advice/suggestions you can provide would be greatly appreciated.

Thanks!

*This post is locked for comments

I have the same question (0)
  • Verified answer
    a33ik Profile Picture
    84,331 Most Valuable Professional on at

    Jared,

    Actually you asked great question.

    First thing - development and deployment of development pieces (like scripts, pages, plugins, custom workflow activities) - I use VS + Dynamics CRM Development extensions -https://visualstudiogallery.msdn.microsoft.com/0f9ab063-acec-4c55-bd6c-5eb7c6cffec4 Other developers can suggest to use CRM Developer Tookit (which I used to use before I tried Development Extensions mentioned earlier). When you are the only developer - there is no need to check that your code can break code developed by other developer so you can deploy everything from VS and test results in CRM.

    Second - Sourcecontrol. I use TFS Online. Free for one developer, reasonable price for a group. Try it out, it's cool ;)

    Now second part - when you work with group of consultants, developers and architectors it is good to have in sourcecontrol not only changes done to code but changes done to entities, relationships, view, e.t.c. - metadata of CRM. We used this tool - https://xrmciframework.codeplex.com/ Another one great thing is mentioned extension contains possibility to use AutoBuilds/AutoDeploys and this feature rules because you can get notification that build is broken if one of team members checked in changes that break it.

  • CRMTreky Profile Picture
    760 on at

    Thank you Andrii for your detailed & insightful response.

    I will definitely take a look at Sourcecontrol and the other resources that you mentioned. I greatly appreciate your response!

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans