cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
Highlighted

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

Highlighted

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

Power Platform Community Conference

Check out the on demand sessions that are available now!

News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Community Highlights

Community Highlights

Check out the Power Platform Community Highlights

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