Let Your Subgrid Dataset PCF Communicate with the Form


The article discusses how to make a subgrid dataset PCF communicate with a form in Model-Driven Apps. The author explains that using the Xrm object inside a PCF is unsupported, so direct access to other controls is not possible. However, the author suggests using the output properties feature to achieve communication between the PCF and the form. By using the getOutputs and addOnOutputChange API methods, the PCF can trigger events on the form and pass data. The author provides a use case example and code snippets to demonstrate the implementation. Overall, using output properties allows for better synchronization and interaction between the subgrid dataset PCF and the form in Model-Driven Apps.


Article 23m

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