Execute a Recurring Job in Microsoft Dynamics 365 with Flow

Sunday, November 11, 2018

I have written about executing recurring jobs in Dynamics 365 few times in the past. Over time, I suggested different scheduling mechanisms such as Microsoft Dynamics Workflow Timeout step or Azure Scheduler, as the pattern I suggested allows changing the scheduling mechanism without impacting other solution parts. Flow can be also used as a scheduling mechanism, one that does not require coding like Azure Function,  as it has a built in integration with Microsoft Dynamics 365 Online. Once invoked on schedule, the executing component query Dynamics 365 for target business records and apply some business logic (Process) to each business record. In...

Custom Code Tracing & Exception Logging in Dynamics 365 v.9

Sunday, October 28, 2018

As a Solution Architect I often review Microsoft Dynamics 365 custom server and client side code. One of the most common rejects regards tracing and exception handling mechanisms, or their absence. Some code constructs may have empty Try/Catch blocks or none at all, other catch exceptions and just re-throw. As for tracing, code often contains debugging ‘aids’ such as alerts and debugger statements or no tracing notifications at all. Why is this a reject? Unhandled raw exceptions float to UI, confusing and frustrating users while exposing internal implementation details to potential attackers System Administrator is unaware of custom code exceptions unless users decide...
no comments

Drag & Drop File Upload Revisited

Thursday, October 18, 2018

Finally found the time for overdue maintenance on the Drag & Drop solution I created two years ago. Why revisit? First of all, as the CodePlex platform, previous home of this solution, is being decommissioned, downloading the component got the whole CodePlex project and few visitors commented that they could not find the actual solution. So now you can download an unmanaged solution from it’s  new home @ Github. Second, I fixed a major bug related to the plural name of some entities. For most entities, appending ‘s’ to the entity schema name would result in the matching entity name for Web API. Some...
no comments

Editing Multiple Activities in Advanced Find Results Grid

Tuesday, December 1, 2015

One of my customers asked me why can’t she edit multiple Tasks (bulk edit) in Advanced Find results grid, while it is certainly possible in any other Tasks grid. I was not aware of the this limitation and tested it myself. It seems that the Edit command is disabled for all Activity types in Advanced Find results grid when trying bulk edit. What is the purpose of this limitation? Don’t really know, but here a quick workaround: Instead of searching for Tasks (or any other type of Activity), select Activities as the Advanced Find query entity...
no comments