Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Power Apps Pro Dev & ISV
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
    Re: Multiple datasets in pcf control for canvas app

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

  • Ben Thompson Profile Picture
    1,400 on at
    Re: Multiple datasets in pcf control for canvas app

    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.

  • mroot Profile Picture
    3 on at
    Re: Multiple datasets in pcf control for canvas app

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

  • Diana Birkelbach Profile Picture
    3,072 Most Valuable Professional on at
    Re: Multiple datasets in pcf control for canvas app

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

    Diana

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Apps - Power Apps Pro Dev & ISV

#1
WarrenBelz Profile Picture

WarrenBelz 85 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 65 Super User 2025 Season 1

#3
mmbr1606 Profile Picture

mmbr1606 55 Super User 2025 Season 1

Overall leaderboard