How can I made a template in a table editable when the fields are triple bracketed?

  • 1
  • Question
  • Updated 1 month ago
  • Answered
In a recent release, Skuid made it so templates could be edited in field editors and tables. This is great, but we noticed that triple bracketed fields like {{{Name}}} weren't editable. In field editors the workaround is fairly simple - just select to show a custom popup and it'll work great. However that option isn't present in tables, so the workaround is less intuitive. 

If anyone is facing the issue, the best workaround I've found so far is to add a span with display:none and the fields to edit in the template. For example, a table based on the Leads object would have a template like this in place of the name field:

<span style="display:none">{{FirstName}}{{LastName}}</span>{{{Name}}}
This is particularly useful when you want to reformat a field (like Name) to open in a new tab by default. Without the display:none trick you would have to pick between a field in a table being editable or opening in a new tab, but with this you can get both.

<span style="display:none">{{FirstName}}{{LastName}}</span><a href="/{{{Id}}}" target="_blank">{{{Name}}}</a>
Photo of Matt Davis

Matt Davis, Employee

  • 734 Points 500 badge 2x thumb

Posted 1 month ago

  • 1

Be the first to post a reply!