Dynamics 365 (V9): Progress Indicator API

It has only been a few weeks since I wrote a blog post about Alert.js, but, with the release of V9, we now have the same sort of functionality available out of the box: As described in the “What’s new for developers” article, there have been some client API enhancements in V9.  In particular, we’ve… Read More »

Business rules and read-only forms

There is an interesting limitation of the business rules for which there seem to be no other workaround but to use javascript. Imagine the following situation: There is a user who has read-only access to the account record through the security roles There is a business rule that unlocks a field on the account form In theory, since… Read More »

Data Migration – how do you usually do it?

In the last few years, I worked on a few Dynamics projects that involved data migration, and, somehow, most of the times I would settle on the approach to the data migration which I tried to illustrate on the diagram below: The main reason I usually do it this way is that, when I have… Read More »

Workflow or Plugin: which one will run first?

With all those customization options we have in Dynamics, we can do a lot, but, sometimes, it may get a little confusing. For example, we can use worklfows and plugins. Not only that, though.. Both workflows and plugins can be real-time/synchronous or background/asynchronous. Earlier today I was observing a very interesting behavior. There was a… Read More »

Web API: Unmapped Request Found

I was trying to use Web API to associate a contact to an account (that’s a new N:N relationship), and ran into the error below: Unmapped Request Found Turned out, it was just a matter of having missed “/$ref” in the url I was using for the POST request: [ORG_URL]/api/data/v8.2/accounts(36859222-06AE-E711-A94C-000D3AF3E34A)/new_account_contact/$ref As per MSDN, here is how that request should… Read More »