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

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
Kudo Collector
Kudo Collector

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

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

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

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
Kudo Collector
Kudo Collector

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

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
secondImage

Demo-Extravaganza 2020

Check out these cool Power Apps & vote on your favorite!

secondImage

Robotic Process Automation

Let's talk about the solution provided by Microsoft for Robotic Process Automation (RPA)

secondImage

Community Highlights

Check out whats happening in Power Apps

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

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