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

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Super Users Coming in August

We are excited for the next Super User season.

secondImage

Community User Group Member Badges

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

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (6,274)