Category Archives: Dynamics

When would onSave form event occur in model-driven apps?

We can use three different functions to save a form: formContext.data.entity.save formContext.data.save formContext.data.refresh(true…)   Off the top of your head, do you know which one will result in the “onSave” form event and when? Those details might not be quite obvious when looking at the documentation for each of the functions separately, but there is… Read More »

Using application monitor to troubleshoot Model-Driven apps

You may have heard that we can now use Monitor with model-driven applications. It can provide some very useful context about the client-side behavior of your apps, but there is one option which may be particularly useful when troubleshooting end-user issues. It seems this process is supposed to be done through the “Invite” button below:… Read More »

Spooky scary licensing caught up with me again

Not without some help, but, it seems, I’ve just uncovered a skeleton in my closet. Which turned out to be this old blog post I wrote back in September 2019: Now, I stand corrected TWICE in just one day (just for the reference: https://crmtipoftheday.com/1372/synchronous-power-automate-flow-on-create-update-of-a-record/). That’s a little unusual feeling, but, well, the truth has to… Read More »

Can we call a PowerAutomate Flow synchronously on create/update of a record?

It seems like a no-brainer question with a simple “no” answer; however, there was something that came up on Linkedin while discussing my other post about using CDS pre/post images with the Flow: https://www.itaintboring.com/dynamics-crm/cds-post-images-and-cds-pre-images-in-powerautomate-flows/ What if, instead of using the service bus, we tried using “web hook” option in the Plugin Registration Tool? It does… Read More »

CDS Post Images and CDS Pre Images in PowerAutomate Flows

Full disclaimer… this post was triggered by what a fellow MVP, Olena Grischenko, wrote earlier today: https://msolenacrm.blog/2020/06/18/power-automate-for-cds-what-was-it-before-we-run-the-update-or-byebye-no-code/  I am all for plugins, I actually write them every day But, then, should not there be some way to work with pre/post images in PowerAutomate? Without code? And there is one, although “no code” solutions are not,… Read More »

TDS endpoint for custom development and data integrations?

TDS endpoint availability is, probably, one of the coolest technical capabilities introduced by Microsoft in the last few months. However, even though it’s great to be able to run SQL queries in the SQL management studio as described in Microsoft docs: https://docs.microsoft.com/en-us/powerapps/developer/common-data-service/cds-sql-query There are other usage scenarios which seem to be very enticing. Using it… Read More »

Using SQL Management Studio with CDS

Just got to play with the latest cool feature, which is using SQL Management Studio to connect to CDS environments. You’ll find the documentation here: https://docs.microsoft.com/en-us/powerapps/developer/common-data-service/cds-sql-query If you have not seen what it looks like, here is an example: To set it up, you just need SSMS v18.4, and don’t forget to configure your environment… Read More »