cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper I
Helper I

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
Community Support

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.
Highlighted
Helper I
Helper I

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

Hi @ 

 

 

 

Highlighted
Regular Visitor

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
Check this Out

Announcing

Class of 2020- Season 2

Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (8,227)