Web API: Executing Custom Action via JavaScript

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

Retrieving Audit History Records via API

January 8, 2016

Although the Audit History entity is somewhat degenerated, records for this entity can be extracted via multiple API mechanisms in both Online and on-premise scenarios: Organization Service query  (QueryExpression, QueryByAttribute, LINQ, FetchXML) OrganizationData Service query The Audit History entity lacks a FilteredView element and therefore can not be retrieved from the Database in a supported manner. Also, version 2016 new Web API does not expose the Audit entity and can not be used for that purpose. In this post I will demonstrate using some of the API mechanisms to extract Audit History records. Note that...
5 comments