In my last post, I have compiled some of the small but important and most awaited enhancements which we have explored in Dynamics 365 v9.0. From a developer point of view too this release has so pleasant enhancements. In this post, I am compiling some of the interesting enhancements for developers in Dynamics 365 v9.0 which we have explored.

Dynamics 365 v9.0: Xrm.WebApi – CRUD Operations Part – 1 : One of the important enhancement that will be a boon for developers is Xrm.WebApi. Earlier, to perform CRUD operation in Dynamics CRM we had to create our own library or use other third party libraries or use XmlHttpRequest and ajax request. Xrm.WebApi is a cool enhancement added in Dynamics 365 v9.0 which will help to make developers life simple. In this blog, we have discussed how we can perform CRUD operations and work with all data types using newly added WebApi in Xrm namespace. In another blog, we have explained Retrieve Multiple and Execute Actions. You can read more about this here.

Open Progress Indicator using Xrm.Utility in Dynamics 365 v9.0 : Other interesting addition in v9.0 is Progress Indicator functionality. With this functionality, a user can display the Progress dialog/Indicator using “showProgressIndicator” function of XRM.Utility namespace. To achieve this previously, we had to create a web resource which contains the custom logic to display the Progress Indicator/dialog in CRM, and then use this web resource in order to show the Progress Indicator. Now with the release of Dynamics 365 v9.0, we can display the Progress Indicator/dialog by using out of the box “showProgressIndicator” function of XRM.Utility namespace. Read this blog to know more about it.

Dependent Attributes in JavaScript in Dynamics 365 v9.0 : Is Form Scripting a dreadful task, given the uncertainty that no one knows when the necessary attribute(s) for our script will be taken down from the form or it’ll be deleted completely? Well! With Dynamics 365 v9.0, we can avoid these situations in a finesse way. Apart from the ability to handle the dependent JavaScript as described here, there is another feature which enables us to define the dependent attributes. This blog talks about dependent attributes in JavaScript in Dynamics 365.

Loading Dependent JavaScript Files in Dynamics 365 V9 : Another very interesting addition to Dynamics 365 v9.0 for developers is Loading Dependent JavaScript Files. Earlier i.e., prior to July 2017 update if we were to create a Form Script library (web resource) and if that library had a reference to a 3rd party library, then it was mandatory for us to have the 3rd party library referred up in the order before our Form Script Library. Well! This is not a big deal but it could get tedious if you were to add the Form script library on multiple entities and each entity having multiple forms. Our this blog explains what has been introduced in Dynamics 365 v9.0 to ease this out.

Fixed – Executing Action with Complex Output Parameters through Web API in Dynamics 365 v9.0 : Sometimes we face errors while developing something and don’t have control over how it could be fixed. One such thing was executing Action using Web API. Prior to v9.0 update, if we tried executing Actions, having a combination of complex and simple output parameters would result in errors like Resource not found for the segment ‘ActionName’ or Request message has unresolved parameters. Now, in v9.0 we don’t have to worry about the combinations of the output parameters. Irrespective of the combination of the output parameters, we are able to execute the Action. Read more in this blog.

These are the some of the new features/enhancements added for developers in Dynamics 365 v9.0 we have explored, we still have much more to explore in Dynamics 365 v9.0! So keep visiting this space and our blog for new Dynamics 365 CRM Tips & Tricks!