cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Kran
Helper II
Helper II

Is it possible to bound PCF to multiple fields?

I´m trying to understand if a can bound a PCF control to multiple fields in Dataverse? Or if it has to be bound to only one?

1 ACCEPTED SOLUTION

Accepted Solutions
DianaBirkelbach
Super User
Super User

HI @Kran , 

 

You can bound a PCF to multiple bound fields. You can also bound a PCF to multiple datasets. But you cannot bound a PCF to both fields and dataset (at least for model-driven apps).

 

If you have a PCF with multiple fields, the only problem is that, using form scripting, you cannot disable/hide the fields contained in your PCF  (expect the first one). You need to think of a way, if you need that. But the onChange will be triggered for all fields.

I have a blog about composite PCF control, just in case you would like to have a look: https://dianabirkelbach.wordpress.com/2021/03/06/twooptionscomposite-the-downside-of-pcf-composite-c...

 

Hope this helps!

 

Kind regards,

Diana

View solution in original post

1 REPLY 1
DianaBirkelbach
Super User
Super User

HI @Kran , 

 

You can bound a PCF to multiple bound fields. You can also bound a PCF to multiple datasets. But you cannot bound a PCF to both fields and dataset (at least for model-driven apps).

 

If you have a PCF with multiple fields, the only problem is that, using form scripting, you cannot disable/hide the fields contained in your PCF  (expect the first one). You need to think of a way, if you need that. But the onChange will be triggered for all fields.

I have a blog about composite PCF control, just in case you would like to have a look: https://dianabirkelbach.wordpress.com/2021/03/06/twooptionscomposite-the-downside-of-pcf-composite-c...

 

Hope this helps!

 

Kind regards,

Diana

View solution in original post

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

secondImage

Demo Extravaganza Winner Announcement

Please join us on Wednesday, July 21st at 8a PDT. We will be announcing the Winners of the Demo Extravaganza!

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (2,323)