Any can point me to right direction on how to add an onSelect Property in a PCF for canvas apps?
Hello,
I used the approach described in the following article and it worked fine for me - https://98.codes/a-workable-pattern-for-pcf-events-you-can-use-today/
Yes, you can now add any arbitrary "events" to your PCF control with the actions to be defined in PowerFx in your hosting Canvas App. All you need to do is declare the Event in your Manifest and it will become an available event property in the Component when you register to the Canvas App. Then you call the corresponding function from in your PCF code when the event criteria are satisfied and the corresponding PowerFx will be executed.
@DianaBirkelbach wrote a great walkthrough of this just a couple months back: PCF Custom Events – Sneak Peak – Dianamics PCF Lady (wordpress.com)
WarrenBelz
85
Most Valuable Professional
Michael E. Gernaey
65
Super User 2025 Season 1
mmbr1606
55
Super User 2025 Season 1