cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
roknron
Level: Powered On

PowerApps from Sharepoint

When I attempt to auto generate an app from a Sharepoint list, all three screens of the application display the Description data with the HTML tags.  Following some of the suggestions found on other forums where you rename the text control, hide the control, add an HTMLText box and set the htmltext to the name of each of the previously renamed controls only partially solves the problem.  The main problem is on the input screen the HTMLText contol does not allow for input.  While you could default the input box control on this screen to "".  Your are unable to edit part of the data for tihe record field.  Is there code behind solution or a format function you could use in the formula for the text propertie of the text box or input box?  NOTE the Description and Resolution columns of the list are multi-line columns.

5 REPLIES 5
Community Support Team
Community Support Team

Re: PowerApps from Sharepoint

Hi Roknron,

 

HTML text control shows text and convert HTML tags for formatting. But it is not able to be edited in Preview mode. You could add a Text input control in the app, then add an HTML text control and set its HTMLText property to Text input.text.
The HTML text control shows the same text as the Text box control but converts the tags to the appropriate characters. Once you edit the text in the Text input control, the text in HTML text control will also be changed.

 

This document could be a reference for you:
https://powerapps.microsoft.com/en-us/tutorials/control-html-text/

 

Please try if this works for you.

 

Best regards,
Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
roknron
Level: Powered On

Re: PowerApps from Sharepoint

If I overlay the text input box with and htmlText box I cannot access the input box at runtime.  The issue exist when you edit an existing record not for new records.

Highlighted
roknron
Level: Powered On

Re: PowerApps from Sharepoint

I discovered the issue and adjusted the setting of the list column.  Now the apps works

 

See image below

 

2017-02-02_12-26-14.jpg

Anonymous
Not applicable

Re: PowerApps from Sharepoint

Another alternative is when you display the multiline textbox is to use the PlainText function when you are displaying it. This removes the HTML, and then it is added back in when you do the save. See this post:

 

https://powerusers.microsoft.com/t5/PowerApps-Forum/SharePoint-Connector-not-displaying-values/m-p/1...

 

 

 

 

TschoofBAH
Level 8

Re: PowerApps from Sharepoint

You are a lifesaver. Covering up the html insertion does nothing when you try to report on the data, as it puts the tags there as well. Thanks for the tip!!!

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors (Last 30 Days)
Users online (5,023)