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 / How to generate severa...
Power Apps
Unanswered

How to generate several PDF and send it through email

(0) ShareShare
ReportReport
Posted on by 13

Hello, I want to generate multiple pdf at once and send it through email.

 

The scenario will be like this:

 

1. The user will select several names from a combo box selection 

2. The user will click on a button to generate the pdf

 

I want to create certificates for each selected name on a pdf and send those pdfs through email. Is that possible?

For example the user selected 5 names from a combo box when clicking on the generate pdf button, 5 pdfs should be created using the 5 names and then those pdfs should be sent through mail.

Categories:
I have the same question (0)
  • NVPowerApps Profile Picture
    11 on at

    Hi,

     

    I found this extremely helpful. 

    https://www.youtube.com/watch?v=sK3WsjQiqcQ

  • SanaAB Profile Picture
    13 on at

    Thanks a lot for your reply.

     

    I already tried this and it worked for only one pdf. My goal is to generate several pdf at once using the values selected from the combo box and send them through the email

     

  • v-chengfen-msft Profile Picture
    on at

    Hi @SanaAB ,

    Do you want :
    1. The user has selected multiple names from the combo box,
    2. Then when you click the generate pdf button, send an email (PDF with these names in the email)

    You Could do it with flow.

    Here is a Test for you reference:

    Here is list:

    vchengfenmsft_0-1667802571297.png

     

    In Power Apps:

    vchengfenmsft_1-1667802571306.png

     

    In Flow:

    Note: (Please choose PowerApps(Va) as trigger)

    vchengfenmsft_2-1667802571312.png

    vchengfenmsft_3-1667802571327.png

    vchengfenmsft_4-1667802571340.png

    vchengfenmsft_5-1667802571347.png

     

    Here is result:

    vchengfenmsft_6-1667802571349.png

     

    Best Regards
    Cheng Feng

  • SanaAB Profile Picture
    13 on at

    @v-chengfen-msft  Thanks a lot for your deep explanation.

     

    I just have a question, those pdfs should be already saved in the share point jbefore. which means I cannot create it using the names from the combo box. And then send them through the email.

     

    In my case, the values in the combos is not from the share point. It is from office365 getting the names of all employees in the company. Here is the code of the combo box:

    Office365Users.SearchUser({searchTerm:ComboBox1.SearchText}).DisplayName

     

    To explain more about the request, There request was choosing specific names from a combo box, and then the app will create a pdf certificates containing a text and the name of each  employee from the combo box. Then send those created certificates through the email.

     

    For example, the user chose the names (Nadi, Sam, Marry) and then clicked on a button called generate pdf. 
    The app should create 3 pdfs each one contains the same text but different name. And then send those pdfs through the mail to the user.

     

    Thanks again for your response, and I hope there is a way to create and send the pdf at once.

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 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard