Entity JavaScript Scaffold

Saturday, July 23, 2016

In the last couple of years I have been writing more JavaScript code than Server side code in my Microsoft Dynamics CRM projects. Better UX, plethora of supporting JavaScript libraries, easier deployment and maintenance made me prefer a client side solutions. I usually create a JavaScript library for each entity requiring client side functionality (forms, command bars etc.).Over time, I have formed a JavaScript class scaffold. As this scaffold has improved my productivity when it comes to developing, debugging and maintaining client side code, I would like to share it here. Consistently using this or any other scaffold,...
no comments

Customization Aware Web Resource – Part 2

Wednesday, March 23, 2016

In the previous post I described the Customization Aware Web Resource (CAWR) approach. This approach allows a dynamic reflection of certain customization changes in custom Microsoft Dynamics CRM client (Web Resource, Mobile app, Portal form etc.) as it query and apply metadata properties to relevant form controls. In this post, I’ll demonstrate an actual implementation of the CAWR approach using SOAP, for those of you who use Microsoft Dynamics CRM 2011 to 2015. In the next post, I’ll replace SOAP with Web API. You can download an unmanaged solution containing the working sample demonstrated in this post. This solution was exported from...

Web API: Executing Custom Action via JavaScript

Wednesday, January 13, 2016

The Custom Action is an important tool in Microsoft Dynamics CRM architect belt. Here are some of the Custom Action key features: It can be called from both client & server side, enabling the SPoI approach (Implement once, consume anywhere) Supply a flexible, declarative business logic definition mechanism which can be called from other Processes as well as from custom code (unlike Plug-in) Can be extended with Custom Workflow Activities Can receive input parameters and return output parameters in a straight forward manner, similar to an Organization level Web Service Why would you want to...
4 comments