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 / Passing a SharePoint L...
Power Apps
Unanswered

Passing a SharePoint List As Input Value To a Component

(0) ShareShare
ReportReport
Posted on by 45

Hello Everyone,

 

I just want to start by saying that any help at all regarding this will be immensely appreciated; as I cannot find a solution.

 

So, I have a SharePoint list for my datasource and I am simply trying to pass it as an input table data type inside of my component.

 

Below is the setting for the "ListDataSource" input component property:

Strikerme_0-1702155289833.png

 


Below is how I pass the list into the component:

Strikerme_4-1702154448524.png


I am just going let this snippet have the default value (which should not affect the app):

Strikerme_5-1702154534470.png

 

I am attempting to pass a SharePoint List as a data source in a gallery inside of my component like this:

Strikerme_0-1702158975769.png


I am not sure if what I am attempting is even possible; because I was attempting to put the SharePoint list inside of a variable previous but found out that it is not permitted. But if this is possible what am I missing?

 

 

I have the same question (0)
  • v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @Strikerme ,

     

    You cold set the items property to:

    Parent.ListDataSource

     

    Best Regards,

    Bof

  • Strikerme Profile Picture
    45 on at

    Hi @v-bofeng-msft ,

    Thank you for your response. But how would your suggestion work? Don't I have to reference the input component property when using property values inside the component; by typing the name of the component (in my instance example, the name is just Component). Therefore, how can I reference the input component property while using your suggestion. My attempts does not work, please see below:

    Component.Parent.ListDataSource


    Please let me know what I am doing incorrectly.

  • v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi  , 

    Please try

     

    Parent.ListDataSource 

     

    instead of

     

    Component.Parent.ListDataSource

     

    Best Regards,

    Bof

     

     

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 1,041

#2
11manish Profile Picture

11manish 676

#3
Valantis Profile Picture

Valantis 655

Last 30 days Overall leaderboard