cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Post Patron
Post Patron

Export html text to html file?

I would like to create an html file from html textbox data.
Could anyone explain how to do this?
Thanks in advance!
1 ACCEPTED SOLUTION

Accepted Solutions

Hey @Englishweb 

 

Just to confirm, have you added flow in the button's action? Where are you getting this error? For some reason i don't see an image in your response. 

View solution in original post

4 REPLIES 4
Dual Super User II
Dual Super User II

Hi @Englishweb 

 

Directly, you cannot convert to html files in PowerApps. As a solution to this, you need to create a flow, which takes inputs from powerapps, then process the data and create a file in Sharepoint, One drive etc. A similar scenario is built in one of my blogs, please refer: https://www.appliedis.com/newly-released-json-function-for-powerapps/
 
You can create your flow as:
 
MicrosoftTeams-image (83).png

 

To call this flow from powerapps, you can register flow on a button in Powerapps and use the expression as:
'PowerApp->Createfile'.Run(HtmlText1.HtmlText)
 
'PowerApp->Createfile' is the name of flow and HtmlText1 is the control which holds the html value.

 

Hope this Helps!

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

Hello 

'Createfile'.Run(HtmlText1.HtmlText)

Createfile is the name of the flow, HtmlText1 is the Html textbox containing the data (see image)

I'm trying to save the html file to Onedrive for business

What am I doing wrong?

Thanks

Hey @Englishweb 

 

Just to confirm, have you added flow in the button's action? Where are you getting this error? For some reason i don't see an image in your response. 

View solution in original post

Once again I have missed the obvious...now it works perfectly

THANK YOU again for your help.(shame I can only click the like button once) 

you are brilliant!!

Helpful resources

Announcements
News & Announcements

Community Blog

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

Power Apps Community Call

Power Apps Community Call- January

Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST

PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

Top Solution Authors
Top Kudoed Authors
Users online (9,803)