- RISE FROM THE ASHES – Sanjib Nandi - November 1, 2021
- साथ में मेरे दोस्त खड़े थे - August 1, 2021
- BenchmarkDotNet: Advanced Features - June 20, 2021
Being from Visual Studio Programming development background, we always look to enjoy the luxury of IntelliSense, color coding, better programmer support etc and above all version control. If we continue programming inside Dynamics CRM it will be very uninteresting and dull without Visual Studio amazing features. (in my opinion)
How to do that?
- First of all, download this Dynamics CRM & 365 Developer Extensions from here. Its all features are mentioned on that page so I am going to focus on Web Resource (JavaScript) only.
2. Save and double-click to install it.
3. Open Visual Studio and Create New Project. You can see New template as shown in below image. Give this a proper name. Note â Solution name here has nothing to do with your Dynamics CRM solution name, so feel free to use any name.
4. Now open Web Resource Deployer. (Steps â Right Click on Project (1) -> CRM Developer Extensions (2) -> Web Resource Deployer (3))
5. This will open up this screen.
6. Click on this (+) (1) to add the connection to your Dynamics CRM and key in the required values as shown below.
7. Now add a New Javascript file to project (1)-> Click on (+) (2) -> Select Filename from File drop down in opened pop up (3) -> Create (3) -> It will be shown in list (4)
8. Step # 3, above will add a web resource as shown below.
9. Now Add this Web resource to your form. Open your Form Editor -> Click on Form Properties -> Attach function and control event as per your requirement.
10. Now write your validation rules or your functionality and Just click to Publish to CRM button (as shown below in red box) to directly publish. Once you publish from here, No need to publish the same from Dynamics CRM. (Point # 5 in Step 7 image)
What is Next â¦
Now you can configure and manage your code in TFS or GIT from here only along with other luxuries of Visual Studio.