Hi
I have an issue with the PCF Component, i have created it for the Views (Entity Grid, SubGrid), it is working properly on Entity Grid but it is not working on Subgrid.
I have created a view and added the custom control, this view is working for the Entity Records, but when i added the subgrid at form (Accounts & Contacts) component is not working. is it my bug or is it not supported yet.?
Many Thanks in advance.
Hi @MBilal-079 ,
Could you please share a bit more about your scenario?
Do you mean that the custom PCF control could not work on Subgrid in your Model-Driven app form?
Currently, the Subgrid control in a Model-Driven app form is used to display views for CDS Entity records. Inserting a PCF custom control into a Subgrid in Model-Driven app form is not supported in PowerApps currently.
If you would like this feature to be added in PowerApps, please consider submit an idea to PowerApps Ideas Forum:
https://powerusers.microsoft.com/t5/Power-Apps-Ideas/idb-p/PowerAppsIdeas
The PCF custom control could only be bind to Form field in a Model-Driven app currently.
Best regards,
It is supported - personally I have more difficulty with entity grids than the subgrids.
As it's not working I would suggest adding a debugger statement early on in your code and watch what happens when the form loads the subgrid.
Edit to add - it's worth explaining that PCF components run within an eval statement which means they can often silently fail in interesting ways such as you are checking for a null when undefined is being returned.
WarrenBelz
94
Most Valuable Professional
Michael E. Gernaey
72
Super User 2025 Season 1
mmbr1606
71
Super User 2025 Season 1