Custom Events for PCF (Power Apps Component Framework) is a highly anticipated feature. The documentation for events has been released, including how to declare events in the manifest and how to use events in PCF code. While the types for events are not fully supported yet, developers can test them by adding a "featureconfig.json" file to their project and defining "pcfAllowEvents": "on" there. However, this is unsupported and should not be used in production. The article also explains how to trigger the onChange event in model-driven apps and canvas apps/custom pages, as well as the OnOutputChange event for model-driven apps. The new custom events feature is specifically for canvas apps/custom pages and allows developers to declare and trigger custom events in their PCF code. Examples of using custom events are provided, including an OnRecordSelect event and an OnRowCommand event. Overall, custom events offer more possibilities for PCF implementation.
Login now to access my digest by 365.Training