I'm trying to generate an HTML table dynamically using PowerFX inside Power Pages.
The formula builds valid HTML, but Power Pages renders it as plain text instead of displaying the table.
Here is an example of the formula:
fx="<table style='border-collapse:collapse;' border='1'><tr><th>Name</th><th>Surname</th></tr>" &
Concat(
FirstN(Contacts, 3),
"<tr><td>" & Name & "</td><td>" & Surname & "</td></tr>"
) &
"</table>"
Instead of showing the table, Power Pages prints the literal HTML code on the page.
Is there a reliable way to generate and render dynamic HTML using PowerFX in Power Pages, or is this currently not supported?
Thanks.
I have the same question (0)