Hi!
Does anyone know if it is possible to have mulitple datasets in a pcf control for the intention of adding the control to a canvas app? I have tried but running into a error importing the control into a canvas app.
For example, in controlManifestInput xml:
If it's really unsupported in CanvasApps, would be good to know. Right now the parameter-combinations are not listed anywhere.
More datasets pcfs works perfectly in ModelDriven Apps. Even the PCF Template for dataset has a comment in the manifest saying that we can use more than one:
<!-- dataset node represents a set of entity records on CDS; allow more than one datasets -->
It's a really elegant possibility, which I use in ModelDriven Apps. I see it as the same principle as the field pcfs accepting more parameters; dataset pcfs accepts more datasets. It's not about changing data: it's readonly anyway.
Until now I don't really understand the reason beyond not being able to use more datasets in CanvasApps and I didn't get a better error message in order to understand if it's unsupported or just a bug.
Kind regards,
Diana
----------
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."
I don't think it's supported.
If you think about how a dataset actually works - the dataset is specified on the page (outside the context of the PCF control) and then you override the PCF control used to render the data (from datagrid / editable datagrid) to your own control.
And we've seen elsewhere (from the attempts to update fields on a form from a dataset control) that a subgrid on a page is completely separated from the rest of the page.
Yes, seems to work fine in development environment but no success in power apps (canvas) studio.
I have the same problem. If it’s supported, seems to be a bug right now.
Kind regards,
Diana
WarrenBelz
85
Most Valuable Professional
Michael E. Gernaey
65
Super User 2025 Season 1
mmbr1606
55
Super User 2025 Season 1