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 / exporting sharepoint l...
Power Apps
Answered

exporting sharepoint list data to excel file with powerapps

(0) ShareShare
ReportReport
Posted on by 64

Hello everyone,

I want to add a button in my canvas power app that will export the data from my sharepoint list to excel. I dont need any filteration or anything, I just want to export all the data to excel file that will be downloaded once the button clicked.

there is a button like this in the sharepoint site, but is it possible with canvas app? I didnt find any solution for this.

Thank you in advance.

Categories:
I have the same question (0)
  • Verified answer
    Anonymous_Hippo Profile Picture
    1,247 Super User 2024 Season 1 on at

    Hello @noamshn ,

     

    I think that you would like to emulate the export data button functionality that currently exsists in the sharepoint list ? if this is the case then this is easy !!

     

    Create a view in sharePoint with all the columns that you would like to have in the excel extract. If you are not sure how to get list ID and View ID then view this link to see how (it is very easy)

     

    On the OnSelect property of the button add the following:-

     

    Launch("https://*Your SharePoint Site adress*/_vti_bin/owssvr.dll?CS=109&Using=_layouts/query.iqy&List={*Enter List ID*}&View={*Enter View ID*}&CacheControl=1")

     

     

    example

     

    Launch("https://Test.sharepoint.com/sites/TesstSite/_vti_bin/owssvr.dll?CS=109&Using=_layouts/query.iqy&List={5889d440-3868-70a3-9961-4e6838365ad0}&View={d32f445d-fa6b-4d43-b358-beeec073411c}&CacheControl=1")

     

     

    Cheers !

  • noamshn Profile Picture
    64 on at

    Thank you very much! it worked.

  • prasannavanga12 Profile Picture
    10 on at

     Hello,

    please i need some help on this 

    iam using this url"(*Site Name*/_vti_bin/owssvr.dll?CS=109&Using=_layouts/query.iqy&List={%207B7793c4f0-3d39-4057-aec3-6d8b8047da25%7D}&View={7B17E18C52-C913-4BA3-939B-06F9B2471C16%7D}&CacheControl=1") but it shows error  cant complete this action please try again later

     

  • Anonymous_Hippo Profile Picture
    1,247 Super User 2024 Season 1 on at

    Hello @prasannavanga12 ,

     

    Looks like your listID & view id is not correct can you make sure your the below is correct (i removed %20D7B from the beginning and %7D from the ending)

     

    Launch("https://iff.sharepoint.com/sites/NB-DSCI_Fin_VOC_IFF/_vti_bin/owssvr.dll?CS=109&Using=_layouts/query.iqy&List={7793c4f0-3d39-4057-aec3-6d8b8047da25}&View={17E18C52-C913-4BA3-939B-06F9B2471C16}&CacheControl=1")

     

     

    this should work hopefully 🙂

    Cheers !

  • prasannavanga12 Profile Picture
    10 on at

    HI @Anonymous_Hippo ,

    its working,iam surprising its working iam trying another list it should be 

     

    https://iff.sharepoint.com/sites/NB-ProcessExcellence/projectandprograms/_vti_bin/owssvr.dll?CS=109&Using=_layouts/query.iqy&List={9D67A9D1-1B6C-425B-8287-4CB232D8540E}&View={ BAA1AEDB0-EDE7-4DC5-89AF-A9F5663E87D2}&CacheControl=1 what is wrong on this i dont understand

     

  • Anonymous_Hippo Profile Picture
    1,247 Super User 2024 Season 1 on at

    @prasannavanga12 

     

    can you try

     

     

    Launch("https://iff.sharepoint.com/sites/NB-ProcessExcellence/_vti_bin/owssvr.dll?CS=109&Using=_layouts/query.iqy&List={9D67A9D1-1B6C-425B-8287-4CB232D8540E}&View={BAA1AEDB0-EDE7-4DC5-89AF-A9F5663E87D2}&CacheControl=1")

     

     

    you missed removing the list name (:

  • prasannavanga12 Profile Picture
    10 on at

    Error

     
    Cannot complete this action.

    Please try again.
     
  • Anonymous_Hippo Profile Picture
    1,247 Super User 2024 Season 1 on at

    I am not sure why it is not working but please make sure you follow this format and use the correct list ID and View ID

    Launch("https://Test.sharepoint.com/sites/TesstSite/_vti_bin/owssvr.dll?CS=109&Using=_layouts/query.iqy&List={5889d440-3868-70a3-9961-4e6838365ad0}&View={d32f445d-fa6b-4d43-b358-beeec073411c}&CacheControl=1")

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 514

#2
WarrenBelz Profile Picture

WarrenBelz 419 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 295

Last 30 days Overall leaderboard