web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Multiple datasets in p...
Power Apps
Unanswered

Multiple datasets in pcf control for canvas app

(0) ShareShare
ReportReport
Posted on by 3

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:

<manifest>
     <control>
        <data-set name="sampleDataSet0" display-name-key="Dataset_Display_Key0" />
        <data-set name="sampleDataSet1" display-name-key="Dataset_Display_Key1" />
        <resources/>
     </control>
</manifest>
 
Thanks!
 
  • Diana Birkelbach Profile Picture
    3,072 Most Valuable Professional on at

    I have the same problem. If it’s supported, seems to be a bug right now. 
    Kind regards,

    Diana

  • mroot Profile Picture
    3 on at

    Yes, seems to work fine in development environment but no success in power apps (canvas) studio.

  • Ben Thompson Profile Picture
    1,400 on at

    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.

  • Diana Birkelbach Profile Picture
    3,072 Most Valuable Professional on at

    Hi @ben-thompson 

     

    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."

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 339 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 289

#3
Mohsin Ali Profile Picture

Mohsin Ali 228

Last 30 days Overall leaderboard