Power Up - Upskill Yourself...

Reading view

PCF: Using in Panels and Dialogs

In my previous post, I described a way around on how to embed PCFs into MDA. During the investigation of what is possible, I found out that Xrm.Navigation.navigateTo ignores “navigationOptions” so it was not possible to show PCF in modal dialogs. I don’t like limitations, so I was looking for a way around it, and ...

The post PCF: Using in Panels and Dialogs appeared first on Andrew Butenko's Blog.

PCF: Direct embedding of Controls into SiteMap

At the moment, we, as developers, can develop PCF controls of 2 types – “field” bound and “dataset” bound. But what if I need to embed some kind of special visualization directly into the SiteMap of a Model Driven Application? Until today, I knew a few ways to address this requirement: give up on using ...

The post PCF: Direct embedding of Controls into SiteMap appeared first on Andrew Butenko's Blog.

PCF: Extended work with linking in Dataset PCF Components

I have been building PCF control since the early days of this Power Platform Component. Even now, after 5 years of using it, I keep finding interesting challenges. In this case, it was linking and filtration of the data based on the further-then-1 hop way from the “main” dataset entity. Challenge Let’s consider the following ...

The post PCF: Extended work with linking in Dataset PCF Components appeared first on Andrew Butenko's Blog.

Code to Excel: Export Like a Pro!

Yesterday, I received an interesting task that made me stretch my “developer” muscles. In this case, the task was to export the data to Excel from the client-side code and I was able to master the approach used by Model-Driven Apps natively. Since my research on the subject returned no posts I decided to share ...

The post Code to Excel: Export Like a Pro! appeared first on Andrew Butenko's Blog.

Updating PCF Controls to support new UI

In this post, I will share my experience updating one “Lookup to Optionset” PCF control I developed a while ago. You can check the video and/or source code if you are unfamiliar with it. Let’s check Microsoft Learn Here are a few articles and examples you can check for educational purposes: https://learn.microsoft.com/en-us/power-apps/developer/component-framework/fluent-modern-theming https://learn.microsoft.com/en-us/power-apps/developer/component-framework/sample-controls/modern-theming-api-control https://github.com/microsoft/PowerApps-Samples/tree/master/component-framework/FluentThemingAPIControl I ...

The post Updating PCF Controls to support new UI appeared first on Andrew Butenko's Blog.

Creating Model Driven Apps Side Panels like a boss

If you use model-driven applications regularly you might notice a “Copilot” Side Pane that appears immediately after your app (Sales/Service/Marketing/Something Else) is loaded: I decided to investigate and share how to create a similar functionality in this blog post. Approach There are 3 components that make this solution complete: Html/JS webresource that will be shown ...

The post Creating Model Driven Apps Side Panels like a boss appeared first on Andrew Butenko's Blog.

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. Here is the scenario that I will demonstrate as an example: ...

The post Synchronizing aggregation fields and subgrids data in MDA forms appeared first on Andrew Butenko's Blog.

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. This article ...

The post Validating current user privileges on the client side appeared first on Andrew Butenko's Blog.

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 ...

The post PCF: Solving issue with lookupObjects and modal dialogs layering appeared first on Andrew Butenko's Blog.

❌