web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Export sharepoint list...
Power Automate
Unanswered

Export sharepoint list to a pdf file

(0) ShareShare
ReportReport
Posted on by 99

I need to export a sharepoint list to a pdf file in a table format like the following:

*see sharepoint data type for each column

 

What is the best way to do this?

 

Capture11.PNG

 

 

Categories:
I have the same question (0)
  • yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    Hi @bren88 

     

    You can follow the steps below: 

    1. Trigger Flow

    2. Initialize a variable of type array

    3. Get items from SharePoint

    4. Apply to each item, 

    5. Append to array variable action: (create JSON with columns required to be sent in the table)

    {

    "Column Name1" : "Select column from dynamic selector",

    "Column Name2" : "Select column from dynamic selector"

    }

    6. Outside the apply to each loop: Create an HTML table (with the array)

    7. Create a file in onedrive (temporary file) with the name and format as .html and pass the outputs of the create html table in the file content

    8. Action to convert file (from the onedrive connector) select the file from the above action and target type is PDF

    9. Finally add the action to send email and add the pdf content to the attachment. 

     

    Hope this Helps!

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

  • Community Power Platform Member Profile Picture
    on at

    Hello @yashag2255 ,

     

    May you share your solution with images? I have to generate PDF from my SharePoint List but still I haven't. 

     

    Thank you for your interest.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard