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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Creating PDF file in S...
Power Apps
Unanswered

Creating PDF file in SharePoint Folders dynamically.

(0) ShareShare
ReportReport
Posted on by

Hi All,

 

I have developed an App, which generate PDF file (using PDF function) and save it in SharePoint folder. What I am trying to achieve is PDF file to be saved in folders according to the value of (DataCardValue20) which is combo box. Combo box has city values and folder name in Sharepoint is based on City name as well. 

 

I have flow as well that triggers when I click on Submit button in the App and that save the PDF file in SharePoint folder. Please see screenshot below for more information.

 

kanwals360_0-1711192112445.png

 

Office365Outlook.SendEmailV2(

    "Plant@k.com",

    "PROTECTION submitted by " & User().FullName,

    "Hi Team, <br> <br>

    Please find the attached file to see full information",

    {

        Attachments:Table({Name:"PROTECTION.pdf", ContentBytes:PDF(scrPROTECTION)}),

        Cc: Concatenate(recipientEmail, ";", User().Email)

    }

);

 

Set(currentDateTime, Text(Now(), "[$-en-US]dd-mm-yyyy_hhmmss"));

 

Protection.Run({file: {name: Concatenate("PROTECTION_", currentDateTime, ".pdf"), contentBytes: PDF(scrPROTECTION)}});

   

SubmitForm(frmPROTECTION);

ResetForm(frmPROTECTION);

 

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

    Any one that could help please?

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 426

#2
WarrenBelz Profile Picture

WarrenBelz 381 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 315 Super User 2026 Season 1

Last 30 days Overall leaderboard