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 / Connecting Sharepoint ...
Power Apps
Suggested Answer

Connecting Sharepoint document to power APP

(0) ShareShare
ReportReport
Posted on by

Hello,

I uploaded an Excel file to SharePoint (under My Documents) and added it as a data source in my Power Apps app. The Excel file contains a formatted Table.

I created a new screen to display and/or export the table data, but the screen is blank.

Could you please explain the correct way to retrieve data from an Excel table stored in SharePoint using Power Apps?

Do I need to convert the data into a SharePoint list, or is it supported to work directly with the Excel file?

Thanks in advance for your help.

Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    155,838 Most Valuable Professional on at
    I will answer this in two parts - firstly if you have connected the Excel table as a Data Source in your app, then accessing it is no different to any other Data Source. You firstly need a gallery with the Table as the Items and then Text Labels with (using your field names) ThisItem.YourFieldName. You can then create a form to edit/create/view the records. This tutorial may be of assistance.
     
    However Excel is really the "data source of last resort" and has many limitations. If you have access to SharePoint Lists, I suggest you put the data in one of those.
     
    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 ♥
    Visit my blog
    Practical Power Apps    LinkedIn  
     
     
  • Suggested answer
    Inogic Profile Picture
    1,291 Moderator on at
    Hi,
     
    Step 1: Create a SharePoint List from Excel
    • Open your SharePoint site.
    • Go to Site Contents.
    • Click New → Select List.
    • Choose From Excel.
    • Upload the Excel file.
    • Select the table inside the file.
    • Review and adjust the column types if necessary.
    • Click Create.




    Step 2: Create a Canvas App Connected to the SharePoint List
    • Go to Power Apps.
    • Click Create → Select Canvas app.
    • Choose the layout (Phone or Tablet).
    • Select the newly created SharePoint List.

    Step 3: Display Data in a Gallery
    • Insert a Gallery (Vertical gallery recommended).
    • Select the Gallery control.
    • Set the Items property to:
    YourListName
    • Select the fields you want to display from the right-side panel.


    The data from the SharePoint List will now be displayed in the app.
     
    Hope this helps.
     
    Thanks!
    Inogic
  • WarrenBelz Profile Picture
    155,838 Most Valuable Professional on at
    A quick follow-up to see if you received the answer you were looking for. Happy to assist further if not.
     
    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 â™¥
    Visit my blog
    Practical Power Apps    LinkedIn   
  • Suggested answer
    Assisted by AI
    Bitcot Automations Profile Picture
    23 on at

    Here is a simple step-by-step guide to connect a SharePoint Document Library to Power Apps.

     
     

    1. Create or Prepare a SharePoint Document Library

     

    1. Go to your SharePoint site (for example your team site).

    2. Click Site Contents.

    3. Click New → Document Library.

    4. Give it a name (example: ProjectDocuments).

    5. Upload a few test files if needed.



    6.  

    This library will store the documents that Power Apps will access.

     

    2. Open Power Apps

     

    1. Go to Microsoft Power Apps.

    2. Click Create.

    3. Choose:

      • Canvas App (most common), or

      • Start from blank.  


      •  

    4.  

    3. Add SharePoint as a Data Source

     

    1. In Power Apps Studio open your app.

    2. In the left panel click Data (database icon).

    3. Click Add data.

    4. Search for Microsoft SharePoint.

    5. Sign in if prompted.

    6. Select your SharePoint site.

    7. Choose the Document Library you created.

    8. Click Connect.



    9.  
     

    Now Power Apps can read files from SharePoint.

     

    4. Display Documents in Power Apps

     

    1. Insert a Gallery:

       

      • Insert → Gallery → Vertical gallery.



      •  
    2. Set the Items property



    3.  
     
     
     

    1. In the gallery show fields like:



    2.  
     

    •  

      ThisItem.Name


    •  

      ThisItem.'Link to item'


    •  

      ThisItem.Created



    •  
     
     

    5. Open or Download the File

     

    Add a button or icon inside the gallery.

     

    OnSelect property

     
     
     
     
    Launch(ThisItem.'Link to item')
     
     

    This will open the document stored in SharePoint.

     
     

    6. Upload Files from Power Apps

     

    1.  

      Insert Attachments Control or Add Picture.


    2.  

      Use a Form connected to the Document Library.



    3.  
     

    Steps:

     

    1. Insert → Edit Form

    2. DataSource = ProjectDocuments

    3. Add Attachments field

    4. Add a Submit Button


    5.  
    SubmitForm(Form1)
     
     

    Files will upload to SharePoint.

     
     

    7. Filter or Search Documents (Optional)

     

    Example search box:

    Filter(ProjectDocuments, StartsWith(Name, TextInput1.Text))

     
     
     
     

    8. Permissions Check

     

    Make sure users:

     

    • Have access to the SharePoint site

    • Have permission to the Document Library




    •  
     

    Otherwise files will not appear.


     

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 424

#2
WarrenBelz Profile Picture

WarrenBelz 355 Most Valuable Professional

#3
11manish Profile Picture

11manish 290

Last 30 days Overall leaderboard