Skip to main content
Nintex Community Menu Bar
Question

Use HTML in List component with Child Relationships field

  • July 11, 2024
  • 4 replies
  • 0 views
  • Translate

Forum|alt.badge.img+9

Hello,

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?

image.png

Did this topic help you find an answer to your question?

4 replies

annajosephine
Nintex Employee
Forum|alt.badge.img+18
  • Nintex Employee
  • 867 replies
  • July 12, 2024

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.

Translate

annajosephine
Nintex Employee
Forum|alt.badge.img+18
  • Nintex Employee
  • 867 replies
  • July 12, 2024

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.

Translate

annajosephine
Nintex Employee
Forum|alt.badge.img+18
  • Nintex Employee
  • 867 replies
  • July 12, 2024

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

{{#ChildObject__r.records}}{{Field}}<br>{{/ChildObject__r.records}}

Then you can enable html in your template as normal.

Translate

annajosephine
Nintex Employee
Forum|alt.badge.img+18
  • Nintex Employee
  • 867 replies
  • July 12, 2024

@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!

Translate

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings