cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Kitz
Level: Powered On

Can I Generate a PDF with a gallery of images?

Hello Community,

I'm having a tricky situation where I need to convert a gallery of images generated in PowerApps into a PDF. Is there a way to achieve this? Please let me know. I was able to convert a single image to PDF but not a gallery of images. Thank you in advance!

3 REPLIES 3
Highlighted
Community Support Team
Community Support Team

Re: Can I Generate a PDF with a gallery of images?

Hi @Kitz,

Could you please share a bit more about your scenario?

How do you convert a single image to a PDF on your side? Using custom connector?

I suppose that you save the image into a HTML file firstly (using  Microsoft Flow), using <img> tag to collect the image, then convert the HTML file into a PDF file, is it true?

If your solution just as I mentioned above, you could consider take a try to concatenate (using Concat function in PowerApps) all image content within your Gallery control into a single one string value with a specific separator (e.g. '#'), then pass this concatenated string to your flow, and use the Split function to split this concatenated string into an array.

Please check the following blog for more details:

https://www.techmikael.com/2017/05/saving-collection-of-images-from.html

More details about Concat function, please check the following article:

Concat function

 

Best regards,

Kris

 

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Kitz
Level: Powered On

Re: Can I Generate a PDF with a gallery of images?

Hi @ 

 

 

 

hishamfadit
Level: Powered On

Re: Can I Generate a PDF with a gallery of images?

Hi, did you get the solution for this? converting the gallery of images to PDF based on selected ID?

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors (Last 30 Days)
Users online (5,102)