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 / export form data to cs...
Power Apps
Answered

export form data to csv and send by email

(0) ShareShare
ReportReport
Posted on by 6

I have created a Sharepoint list with about 100 possible queries on project content and based on this I have created an edit form in PowerApps. Depending on certain answers only selected fields (DataCards) are displayed there.
Now I want to output the content of this form (and not the whole sharepoint list) via button as CSV file and attach it to an email. Unfortunately, I can only find solutions on the net that are based on a gallery, but not on a form - can anyone help? Or is there a way to map a gallery based on this customized form? Then I might find a solution myself.

Translated with www.DeepL.com/Translator  (free version)

UCi1705_01.PNG
Categories:
  • v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @UCi1705 ,

     

    Do you mean you have about 100 columns in the list? If so, it seems impossible to specify how many columns are in the form when a user completes their project. As the result, I would recommend that you export form data from SharePoint list in a Power Automate flow when item is created or modified:

    vjefferni_0-1685955295379.png

     

    So, in the list customize form, no need to trigger any flow. This automated flow is triggered on list item creation or modification.

     

    Best regards,

  • UCi1705 Profile Picture
    6 on at

    Thanks a lot for solution, I will try it very soon. But for user experience it would be better to trigger the action by a button in powerapps, otherwise he will get a E-Mail every time he saved the project status (and changed the sharepoint entries) - will be great to have a solution for that. Or do you know a possibility to create a gallery based on the changed form data? I would then set the visibility of the gallery to false (there are some ideas based on galleries in the internet). 

  • Verified answer
    v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @UCi1705 ,

     

    Data of a Form is a record, while Gallery uses table as data source. If the form only includes a few columns/fields, it's possible. However, you have a plenty of dynamic fields in the form, which makes it impossible. For your concern, you can use When an item is created trigger instead, so the flow will be fired only when new entry is added into the list.

     

    Best regards, 

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

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 411 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 338

#3
WarrenBelz Profile Picture

WarrenBelz 256 Most Valuable Professional

Last 30 days Overall leaderboard