HTML Tags

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

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Senior Developer

    Hi  

    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*/

Reply
  • 0
    Certified Senior Developer

    Hi  

    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*/

Children
No Data