In this blog, we will discover a new addition to the Client API. This event is the "OnOutputChange" that allows triggering a handler after a PCF control has notified the change of its outputs. This event is valid for controls that live in model-driven app forms. The use of this event creates communication between PCF … Continue reading [Model-driven apps – Client Scripting] How to interact the client API with a PCF control in a form using the OnOutputChange event?
Client Scripting

First look at the multi-tab panel (sidePanes)
In this blog, we will discuss a new feature that will be available in the Powerplatform Wave 2 2021 release, it is about the side panel that appears on the right side of an MDA, you can find the announcement of this new feature on the following documentation: Model driven apps support multiple app side … Continue reading First look at the multi-tab panel (sidePanes)
Apply a business logic to the Opportunity Close Quick Create form according to the context of the opportunity closure
In the release 2 2019, Microsoft introduced the ability to modify the Opportunity Close dialog using the Quick Create Form. In this blog, we will discuss the ability to apply a business logic to the Opportunity Close Quick Create form according to the context of the opportunity closure. Use Case Change the "Close Date" label … Continue reading Apply a business logic to the Opportunity Close Quick Create form according to the context of the opportunity closure
Cancel the save based on the result of an asynchronous operation
In 2017, Natraj Yegnaraman shared a clever method to cancel the save of a form. His approach was to cancel the save before the asynchronous operation and then retrigger the save if needed after the asynchronous operation is resolved. You can find all the details on the following link. This approach is explained by the … Continue reading Cancel the save based on the result of an asynchronous operation
A glance of the “OnLoad” event on a Model Driven App form (Async OnLoad event)
This blog will discuss a potential upcoming feature that is related to the "OnLoad" event of the forms for a model driven app. The goal is to look at the process of turning this event from synchronous to asynchronous using the "app settings" component. Also, some benefits of implementing an asynchronous logic on the "OnLoad" … Continue reading A glance of the “OnLoad” event on a Model Driven App form (Async OnLoad event)
How to run JavaScript code when loading a model driven app?
Have you ever needed to execute a JavaScript code when opening a model driven app? Maybe to initialize some global variables, display a notification or open a dialog (...) This blog will discuss a way to meet this need using a method that is not yet documented and therefore not yet supported by Microsoft. The … Continue reading How to run JavaScript code when loading a model driven app?
How to execute a JavaScript function on all forms without registering it manually?
Model-driven apps provides a rich set of client APIs to interact with form objects and events to control what and when to display on a form. The JavaScript functions react to different events so that the code gets executed when the event occurs on the form. The process of associating a function to an event is done … Continue reading How to execute a JavaScript function on all forms without registering it manually?