Skip to main content
November 28, 2023
Question

HTML Tags

  • November 28, 2023
  • 5 replies
  • 0 views

Hello Experts,

Kindly suggest if HTML tags like <tr> <td> etc can be used in Appian UIs or Record type Objects for displaying the data in form of Grid.

Thank,

Gaurav Singh

    5 replies

    stefanhelzle0001
    November 28, 2023

    HTML is not supported for Appian UI building.

    But, there is a grid component ....

    November 28, 2023

    Thanks for the confirmation Stefan,

    I was going through this post where I thought, something being being done with html tags in expression rule.

    community.appian.com/.../html-table

    November 28, 2023

    Hi [mention:09cf3a8fdee34f5680a06848c77839c4:e9ed411860ed4f2ba0265705b8793d05] 

    I have used <tr> and <td> in expression rule in this way for a PM to convert them into pdf 

    a!localVariables(
    concat(
    a!forEach(
    items: ri!list,
    expression: {
    concat("<tr><td>", fv!index, "</td>"),
    concat("<td>", fv!item.Description, "</td>"),
    concat("<td>", fv!item.Quantity, "</td>"),
    concat("<td>", fv!item.Type, "</td>"),
    concat("<td>", fv!item.Amount, "</td>"),
    concat("<td>", fv!item.TaxRate, "</td>"),
    concat("<td>", fv!item.TaxType, "</td>"),
    concat("<td>", fv!item.TaxAmount, "</td>"),
    concat(
    "<td>",
    fv!item.TotalAmount,
    "</td></tr>"
    ),
    }
    )
    )
    )

    /*once check it out*/

    mohammadasifh7807
    September 23, 2024

    Not directly, but if your requirement is to remove the HTML tags and pull out the data from it for displaying it in any format as you like.

    You can use this solution. It's very simple(Just striphtml function).  No need of regular expression or plugin hopefully..

     

    davidj137213
    Brainy
    September 24, 2024

    YOU can use html tags when generating for example a Pdf from html, but not for displaying data in a grid.