cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
livingstonep
Kudo Commander
Kudo Commander

PowerApps - how to create HTML file to launch in new window/tab for Printing

Hi,

 

We have a Flow that generates the below HTML table in an email and sends it to the users:

 

box label.PNG

what we really want is to be able to create an HTML file and launch it on demand in our PowerApp perhaps in a new window?

The idea is the user can print it directly from the browser rather than us having to rely on emails being read.

So how could I do that - I know I could use a new form with an HTML Test input, but would prefer the cleaner option of launching an HTML file in a new tab for printing...

 

thanks

Philip

1 ACCEPTED SOLUTION

Accepted Solutions

We needed the HTML file to be available for the users to open from the PowerApp

 

so we:

  • used OneDrive for Business to create the HTML file  and convert it to PDF
  • Copied that file to the Shared Document Library
  • Stored the link to file for each record

 

 

 

 

 

View solution in original post

2 REPLIES 2
THT
Regular Visitor

I had the same issue.  What I ended up doing is:

 

  • Use Flow to create the HTML file in SharePoint
  • Went to SharePoint and copied the link to the HTML file I created
  • Used that link in a Launch function within Powerapps
    • Need to add a slight delay for the time for the HTML file to be created...just 1-2 seconds

With that, I could make one button to create the file and open it in a new browser window.  

We needed the HTML file to be available for the users to open from the PowerApp

 

so we:

  • used OneDrive for Business to create the HTML file  and convert it to PDF
  • Copied that file to the Shared Document Library
  • Stored the link to file for each record

 

 

 

 

 

View solution in original post

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Top Kudoed Authors
Users online (1,113)