Hello Experts
How can we access Dynamics Fields from the PCF Control, for example, if we click on the PCF Button and wants to hide/show and populate fields with data in Dynamics. could you please suggest?
Thanks
-Sri
Hi @Singapuram ,
The PCF is controlled by the Form, but a PCF cannot control a form.
A PCF has one or more bound properties. When the value changes, the "OnChange" event will be triggered on the form, where you can register some javascript.
I have a Button PCF on the pcf.gallery: https://pcf.gallery/dialog-buttons/ , and I have a blog where you can read more about how it works: https://dianabirkelbach.wordpress.com/2020/11/06/dialog-buttons-pcf/
Hope it helps!
WarrenBelz
791
Most Valuable Professional
MS.Ragavendar
410
mmbr1606
275
Super User 2025 Season 2