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

Display html pulled from source

I am creating an app which will allow users to pull up and view information on multiple company applications.  The data source is a SharePoint list.  Currently, in SharePoint, we have a "StatusColor" column that displays a color.  This column is a calculated field which looks at another field ("Status") which is a drop down menu. For example, if we select the option for "no problems" the color field returns this: 

<DIV style='width:150px; height:20px; background-color:green;'/DIV> 

 And in the SharePoint list, in that the Color column, it simply displays a green bar. I would like to display this color in the PowerApps app. However, the only thing i can get it to do is display the html text.  Is there a way to have it display the color instead of the text? If i need to make changes to the SharePoint list to achieve this, that is fine

1 REPLY 1
PowerApps Staff carlosag
PowerApps Staff

Re: Display html pulled from source

What about doing the conditional formatting in PowerApps based on the status field? See https://powerapps.microsoft.com/en-us/blog/conditional-formatting-in-powerapps/

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

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

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

Top Kudoed Authors
Users Online
Currently online: 306 members 4,578 guests
Please welcome our newest community members: