Category: Development

Blog, Development, Howto

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 …

Blog, Development, Howto

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 …

Blog, Development, Howto

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 …

Blog, Development

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 …

Blog, Customization, Development

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.

Blog, Development

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.

Blog, Development

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.

Blog, Development

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 …