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 / Unable to reference Sh...
Power Apps
Suggested Answer

Unable to reference SharePoint list in a component

(1) ShareShare
ReportReport
Posted on by 56
I have created a left navigation component using Gallery. I need to reference sharepoint list in the navigation component. I am unable to do so. May i know why?
I have the same question (0)
  • Suggested answer
    MS.Ragavendar Profile Picture
    6,454 Super User 2026 Season 1 on at
     
    You cannot directly reference a SharePoint list inside a Power Apps component because components are designed to be modular and independent of specific app data sources. By default, a component does not "know" which SharePoint lists are connected to the main app
     
    Use an Input Property 
    This is the standard way to send data to a component. You create a "door" (property) that allows the SharePoint list to flow from the app into the component.
     
    Create an Input Property:
    • Go to your component settings.
    • Click + New custom property.
    • Set Property type to Input and Data type to Table.
    • Name it something like NavItems.
    • Connect the Gallery:
    • Inside the component, select your Gallery.
    • Set its Items property to ComponentYourName.NavItems.
    • Pass the SharePoint List:
    • Go back to the Screen where the component is placed.
    • Select the component instance.
    • In the NavItems property (which you just created), enter the name of your SharePoint list: 'YourSharePointListName'. 
    Sample Implementation :
     
     
    ✅If this helped, please Accept as Solution to help others ❤️ A Like is appreciated 🏷️ Tag @MS.Ragavendar for follow-ups.
  • Vish WR Profile Picture
    609 on at
     

    Connection will not show inside the component UI. Even if you create a SharePoint connection, Power Apps does not explicitly display it within the component.

    Once the connection is created at the app level, you need to use it in the correct property. However, components do not automatically expose or list available data sources like screens do.

    For example, in a normal screen, if you go to a Gallery and set the Items property, when you start typing the SharePoint list name, Power Apps will suggest the data source and you can use it directly.

    Note : Power Apps does not show or allow direct use of connections inside components — you must pass the data explicitly.

     
     
      Vishnu WR
     
    Please  Does this answer your question if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider answering Yes to Was this reply helpful? or give it a Like 
     
     
     


     
  • Suggested answer
    11manish Profile Picture
    1,196 on at
    You cannot reference SharePoint directly inside a component because:
    • Components are isolated and do not support direct data source connections
    Correct solution:
    • Load data outside → pass into component via input property
  • Suggested answer
    Haque Profile Picture
    1,756 on at
     
    When you say "I am unable to do so. " what it shows to prevent you? Any message(error/warnig)? If so, please post here.
     
     
    The hard rule:

    One of the reasons you cannot directly reference a SharePoint list inside a PowerApps  component is due to how data sources are scoped and managed in components Instead, data sources must be connected at the app level (outside the component) and then passed into the component via input properties.

     

    Steps you can follow:

    1. In your main app or screen, add the SharePoint list as a data source.
    2. Load the data into a collection (Collect or ClearCollect) or directly pass the SharePoint list to the component input property.
    3. Create an input property in your component, e.g., NavigationItems of type Table.
    4. Pass the SharePoint list or collection to this input property when you add the component to your screen.
    5. Inside the component, set the Gallery’s Items property to this input property (NavigationItems).
     

    I am sure some clues I tried to give. If these clues help to resolve the issue brought you by here, please don't forget to check the box Does this answer your question? At the same time, I am pretty sure you have liked the response!

     

     
     
     
  • Poweruser32490 Profile Picture
    56 on at
    Hi @Haque,
     
    My navigation component will have a Gallery which should be referencing the SharePoint list. The sharepoint list has a image, description (text column) and the navigation screen (text column) which it should navigate to.
     
    May i know how to implement a component for the same?
     
     
     
  • Suggested answer
    Haque Profile Picture
    1,756 on at
     
    Let's see if these steps can help:
    • Connect the SharePoint list as a data source in your main app (outside the component).

    • Create an input property in your component (e.g., NavigationItems) of type Table.

    • Pass the SharePoint list or a filtered collection from the main app to the component’s input property when you add the component to your screen. For example, MyNavigationComponent.NavigationItems = YourSharePointList //(YourSharePointList --what you have named it)

    • Inside the component, set the Gallery’s Items property to this input property: Gallery.Items = NavigationItems
      Now, bind the Gallery controls to the respective fields:
      • For the image control: ThisItem.ImageColumnName

      • For the description label: ThisItem.DescriptionColumnName

      • For navigation, set the Gallery’s OnSelect property to navigate to the screen specified in the navigation column, for example: Navigate(LookUp(AppScreens, Name = ThisItem.NavigationScreenColumnName))
        Note: Here, AppScreens is a collection or table you maintain mapping screen names to actual screen objects.

     

    Let's me know if this works for you.


    I am sure some clues I tried to give. If these clues help to resolve the issue brought you by here, please don't forget to check the box Does this answer your question? At the same time, I am pretty sure you have liked the response!

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 March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 541

#2
WarrenBelz Profile Picture

WarrenBelz 434 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 289

Last 30 days Overall leaderboard