I always considered myself a pro-developer so I don’t work with Canvas Apps or Powerautomate Flows on a daily basis like all citizen developers but this week I had an interesting experience playing with the “When an action is performed” trigger of the Powerautomate. I learned 2 lessons that I wanted to share with you, …
Author: Andrew Butenko
Synchronizing aggregation fields and subgrids data in MDA forms
In one of my current projects, I received the requirement to synchronize values that are calculated as aggregates from children’s records with the data in form subgrids. In this post, I will provide instructions on how this can be implemented in a model-driven app.
Validating current user privileges on the client side
Let’s say one has a scenario when some UI element (field, section, tab) has to be enabled/disabled or set to hidden/visible or functionality within PCF Component depending on some privilege of the current user. This post will demonstrate the code that might be used to check the particular privilege available to a user.
PCF: Design time vs run time
Recently I developed quite a complex and quite flexible PCF control for my customer. I did all the testing and everything was working fine for me according to the provided requirements. I notified the customer that the latest version of the control was pushed to the environment and started to wait on the feedback. In …
PCF: Solving issue with lookupObjects and modal dialogs layering
During my few last project I had to implement the same pattern: PCF control opens the Modal dialog Dialog has controls that use OOB lookupObjects function to enter the data Challenge – the panel that pops up when lookupObjects is executed is located under the initiating Dialog: In order to fix this issue it would …
Showing indirectly related records in the form’s grid
During my recent project, I resolved a few similar tasks – the requirement was to show records that are not directly related to the current one. Depending on the scenario you can use one of 2 ways I provided in this post.
Applying UCI styling to a FluentUI Dropdown Component
Here is the next post of the series in regards to styling of FluentUI controls to look native in the UCI interface. Today my post is dedicated to Dropdown control that is now called “Choice” in Dataverse.
Applying UCI Styling to a FluentUI DatePicker component
Back in February, I had in plan to share the series of articles that were dedicated to the styling of FluentUI controls and making them look like the native UCI controls. I had a chance to compose the post about the styling of TextField. Unfortunately, my plans changed and I had no time to work …
Applying UCI Styling to a FluentUI TextField component
I have been working with Business Applications (and Dynamics CRM/Dynamics 365 for CE/Dataverse specifically) since the year 2008 and Dynamics CRM 4.0. When I just joined the game I was really impressed with the “UI Style Guide” documentation that was shipped as a part of SDK. This document contained detailed recommendations on how the custom …
Including additional JS files to your PCF Control
According to the best practices, it’s recommended to use TypeScript to build PCF Controls but in some exceptional situations the only way is to load files with JavaScript “on-demand”. Here are 3 examples I’m aware of and I highly encourage you to leave a comment under this post if you have another use-case scenario: When …