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

HTML TABLE TO SHOW MORE INFORMATION

CAN I ADD OR EDIT A HTML AND SEE HOW THAT WORKS?

 

HTML_CODE.pngHTML_showing.png

 

 

I NEED TO LEARN HOW TO EDIT THIS TABLE AND MAKE SHOW MORE DETAILS ABOUT MY CANVAS APP. 

 

THERE IS A WAY TO VIEW HOW EDIT A HTML ON POWERAPPS AND HOW TO LEARN THIS ?

5 REPLIES 5
EricLott
Resident Rockstar
Resident Rockstar

I use this tool to edit HTML

https://html-online.com/editor/

In the HTML, you can also use tokens such as {userName} then replace them dynamically. See this example:

 

Substitute("My name is <strong>{userName}</strong>!","{userName}",User().FullName)

 

But you know how a way to edit more easy?

@Gorilla_8 

 

Do you happen to be looking for something where one would type HTML code in an Input control, and it would update an HTML text control with the result?

 

If so, that's an interesting idea. Do you want something like this?

@Gorilla_8 You existing one, no. But going forward, I would consider this the best practice:

  1. Store HTML string using Set() into a variable on the Form's OnVisible property.
  2. Use Substitute() to replace tokens such as {itemName} or {userName} in that HTML string variable.
  3. For maintenance, copy the raw HTML string and edit it using a visual editor if needed.

That's the easiest way to maintain your HTML. If you'd like, you can just copy the existing string, remove the references in the Concat() and Filter() function and insert tokens and replace those values. It would be cleaner and easier to read.

v-xida-msft
Community Support
Community Support

Hi @Gorilla_8 ,

Do you want to VIEW HOW EDIT A HTML ON POWERAPPS rather than edit the HTML formula within the Html Text control directly?

 

If you want to VIEW HOW EDIT A HTML ON POWERAPPS rather than edit the HTML formula within the Html Text control directly, I afraid that there is no way to achieve your needs in PowerApps currently.

 

If you would like this feature to be added in PowerApps, please submit an idea to PowerApps Ideas Forum:

https://powerusers.microsoft.com/t5/Power-Apps-Ideas/idb-p/PowerAppsIdeas

 

Currently, as an available solution, you could edit your HTML code using HTML Editor Tool to review the result that you want to achieve, then copy the HTML code into the Html text control.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Users online (2,429)