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 / Customizing a file nam...
Power Apps
Answered

Customizing a file name of a PDF generated in Power Apps

(1) ShareShare
ReportReport
Posted on by 16
How do I place the values from two TextInput fields in my Canvas app ('PSI Report') into the file name of the PDF of the screen I am generating?  In order to get my flow from PowerApps to SharePoint working, I currently have "NewPSIReport.pdf" as a functioning placeholder for the Reports that I create and send to the SP list:
 
 
 
But I want to instead name any file created with the 'Project Name' and 'Project Date' data (two separate Input fields) that the user has manually entered into the PSI Report - e.g., "Boardroom Upgrade 9-16-24.pdf"  .
 
Thank you in advance.
Categories:
submit PDF screen...

Your file is currently under scan for potential threats. Please wait while we review it for any viruses or malicious content.

I have the same question (0)
  • Verified answer
    WarrenBelz Profile Picture
    153,079 Most Valuable Professional on at
    I do not know where you are running this from, so the exact reference syntax to the field values will vary - the structure would be like this
    With(
       {PDFName: ProjectNameRef & " " & Text(ProjectDateRef, "m-dd-yy")},
       PowerAppsPSItoSharepoint.Run(
          PDFName,
          {
             file: 
             {
                name: PDFName, 
                contentBytes: 
      PDF( ScreenNeuPSIReport,
      {Orientation: "Landscape"} ) } }
    ) )
     
    Please click Does this answer your question if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it a Like.
    MVP (Business Applications)     Visit my blog Practical Power Apps    Buy me a coffee

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard