PCF Custom Events – Sneak Peak


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.


Article 16m

Login now to access my digest by 365.Training

Learn how my digest works
Features
  • Articles, blogs, podcasts, training, and videos
  • Quick read TL;DRs for each item
  • Advanced filtering to prioritize what you care about
  • Quick views to isolate what you are looking for right now
  • Save your favorite items
  • Share your favorites
  • Snooze items you want to revisit when you have more time