Skip to Main Content
Feature Request FR-1635
Product Area Application Builder
Status DELIVERED

11 Voters

Add Dynamic HTML Support to Cards Region

o.orbay Public
· May 4 2021

Currently, we can write HTML statically to the title or body of the cards by going to the Cards Region Attributes-->Body AND Turn on "Advanced Formatting".

After we turn on "Advanced Formatting" a textarea is shown where we can enter HTML.
However, if we write the HTML dynamically in the SQL source of the cards region and reference it on this textarea such as "&MYHTMLCODE.", Apex shows the HTML code as plain text in the card body.

It would be great if Apex could interpret it as HTML instead of plain-text.

This has been delivered in Oracle APEX 20.2!

Comments

Comments

  • c.sevimli OP 4.2 years ago

    +1

  • gokhan.tok OP 4.2 years ago

    +1

  • fac586 OP 4.2 years ago

    Already available by applying a RAW escape filter to column substitution strings in the Advanced Formatting attribute: &COL_ALIAS!RAW.

    See https://bit.ly/3baASSx.

    Surprising and disappointing that so many APEX developers are apparently unaware of this basic feature. Or is there some dodgy rating going on here?

  • shakeeb.rahman Admin OP 3.9 years ago

    Thanks for this feedback. As fac586 mentioned above, this functionality is already supported using the !RAW escape filter for the substitution string. Therefore, I have marked this feature as delivered in APEX 20.2 when the Cards region was introduced.

  • john.snyders APEX Team OP 3.8 years ago

    To add to what Shakeeb said, you can also use directives such as {if …/} and {case …/} in the HTML code to make it dynamic. In many cases having your SQL statement generate HTML snippets is not a good idea.

  • cansahin OP 9 months ago

    @fac586 You are amazing. I have searched everywhere for the solution. Thanks again.