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 Apps / Generate a PDF of mult...
Power Apps
Unanswered

Generate a PDF of multiple selected list items in SharePoint

(0) ShareShare
ReportReport
Posted on by

Hello, 

 

I have a sharepoint list and I would like to print multiple Items in one PDF Document. I was able to make a flow with Power Automate, but with that I can only print one list item. 

Does anyone know a solution for this issue? 

 

Categories:
I have the same question (0)
  • Verified answer
    v-jefferni Profile Picture
    on at

    Hi @Anonymous ,

     

    In Power Apps you can use a Gallery to display the list, and users will be able to select the desired items then collect into a collection, use a button to set a variable and convert this collection into JSON string and pass to flow. In the flow you can Parse JSON, select columns and create an HTML table, generate an HTML file, convert this file to PDF with OneDrive connector.

    vjefferni_0-1644304697842.png

    In the APP:

    vjefferni_1-1644304734129.png

    vjefferni_2-1644304748123.png

    You can use a Label with Text set to the variable to get the sample for Parse JSON operation in the flow.

     

    Hope this helps.

     

    Best regards,

    Community Support Team _ Jeffer Ni
    If this post helps, then please consider Accept it as the solution to help the other members find it.

  • Community Power Platform Member Profile Picture
    on at

    Hello, 

     

    thank you very much for this great explanation! 🙂 What do I have to write into the Parse JSON operator? 

  • Community Power Platform Member Profile Picture
    on at

    And in the APP I am trying to insert the commands that you have used, but I only get error messages... 😞 

  • v-jefferni Profile Picture
    on at

    Hi @Anonymous ,

     

    Like I said previously, you can use a Label with Text set to the variable to get the sample for Parse JSON operation in the flow. What kind of error did you meet? What was the error message saying?

     

    Best regards,

    Community Support Team _ Jeffer Ni
    If this post helps, then please consider Accept it as the solution to help the other members find it.

  • Community Power Platform Member Profile Picture
    on at

    It doesn´t recognize the command 'PowerAppsbutton-3'

  • v-jefferni Profile Picture
    on at

    Hi @Anonymous ,

     

    That's my flow name, use your own flow.

     

    Best regards,

    Community Support Team _ Jeffer Ni
    If this post helps, then please consider Accept it as the solution to help the other members find it.

  • Community Power Platform Member Profile Picture
    on at

    Changed it 🙂 Now I have isssues with the symbols. See attached screen shots Screenshot 2022-02-16 150113.pngScreenshot 2022-02-16 150213.png

  • v-jefferni Profile Picture
    on at

    Hi @Anonymous ,

     

    You will need ;; to separate functions as your regional settings is supposed to be in EU. I'm in US so I use coma(,) inside functions to divide parameters and semicolon(;) to divide functions, but when regional settings change to most of EU they should be ; and ;; 

     

    Best regards,

    Community Support Team _ Jeffer Ni
    If this post helps, then please consider Accept it as the solution to help the other members find it.

  • Community Power Platform Member Profile Picture
    on at

    The name of my Flow in Power Automate is PowerApp. I insert this instead of the previous name TestTestTest. I still get an error message " Aufruf einer unbekannten oder nicht unterstützten Funktion". 

     

    I tried using ;; , &&, AND to seperate the funktions Set(var21;JSON(Plan;IgnoreBinaryData));; 'PowerApp'.Run(var21) but it didnt solve the issue. Then I wrote "PowerApp" but then it wont recognise the command .Run(var21). Maybe it wont recognise my flow name because I didnt save it in PowerAutomate? If it is so, I cant save it beacause Parse JSON is empty and I thought I need the Button to generate what I need to insert in ParseJSON. But the Button wont work.

  • v-jefferni Profile Picture
    on at

    Hi @Anonymous ,

     

    You can use the Set function alone first to generate the JSON string and get it in the Label, paste to your flow in order the complete and save it, then add the flow in your App.

     

    Best regards,

    Community Support Team _ Jeffer Ni
    If this post helps, then please consider Accept it as the solution to help the other members find it.

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 Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard