[Model-driven apps – Client Scripting] How to interact the client API with a PCF control in a form using the OnOutputChange event?

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?

Advertisement

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