Use HTML in List component with Child Relationships field


I've built a page in v2 with a List component and dropped a field from a child relationships tab into the component. I've marked "allow HTML", but when I use html markup in the template field it doesn't render it. It just shows the html as plain text. The allow HTML seems to work with regular fields, but I can't get it to work with child relationships. Is there a workaround for this?


  • Anna Wiersema
    Anna Wiersema 🛠️ 
    edited December 31, 2020

    Hey @Sam Becker thanks for bringing this issue to our attention. I've been able to reproduce this issue in the latest version of Skuid and have reported it to the product engineering team.

  • One possible workaround might be to use a deck rather than a list component. The deck component gives you more control over styling...

    You may also need to create a model for your child object (SKU?) and display it in a list component or however you prefer. Then you can use deck context to tell the card to only bring in SKUs where Parent_Relationship_Field__c is the Id field from your parent object model.

  • @Sam Becker I just learned a workaround here. Instead of dragging the child relationship into the component, add a template field and use the following syntax:


    Then you can enable html in your template as normal.

  • @Sam Becker Thank you for your patience! Skuid has fixed the issue you raised regarding HTML in child component template (DSC-2612) in the new 13.0.13 Release which is now available on the Skuid Releases page.

    Best practices for upgrading can be found in Upgrading Skuid on Salesforce.  As a reminder, Salesforce does NOT allow reverting back to prior versions of managed packages. Skuid always recommends installing new versions in a non-business critical sandbox environment to test all mission critical functionality before installing into a production environment. We also recommend that you update out of date themes after you upgraded. Please let us know if you continue to encounter any problems with this issue after upgrading.Thanks again for alerting us of this issue!

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!