Edit template fields in table on Tab page

  • 1
  • Question
  • Updated 3 years ago
I created a the exact page that I need to see - it's a tab page with a table in it.  There are three objects represented here - one parent and two children.  I had to add the fields from child records as template fields which worked beautifully, but I now have two problems:
1. I need to be able to edit a few of the child fields here and they don't seem to be available for inline editing.  The other problem, is that the start and end date fields are not formatted correctly I need the time to show normally, eg. 1:29pm.  I have attached a screen shot of my table.
Photo of JoAnne Wells

JoAnne Wells

  • 90 Points 75 badge 2x thumb

Posted 3 years ago

  • 1
Photo of JD Bell

JD Bell, Senior Product Engineer

  • 2,996 Points 2k badge 2x thumb
JoAnne,

Is this post helpful?

https://community.skuidify.com/skuid/...
Photo of JoAnne Wells

JoAnne Wells

  • 90 Points 75 badge 2x thumb
Hi JD, I actually did see this.  I created the child model and included the StartDatetime among other fields in that model (in this case the child object is Event) and added the template field as suggested.  Here is my code:

{{#Event.records}}

{{StartDatetime}}<br/>

{{/Event.records}}

When I preview this, however, the body of the page never loads.  I literally get a blank screen that just says "Loading..."

Maybe I just have a typo?  Help!

JoAnne
Photo of Rob Hatch

Rob Hatch, Official Rep

  • 44,006 Points 20k badge 2x thumb
Make sure that the child relationship is called Event.  Its not really the object name that matters - its the child relationship name. 
Photo of JoAnne Wells

JoAnne Wells

  • 90 Points 75 badge 2x thumb
Can you give me an example because I don't understand the difference.  Thanks!
Photo of Anna Wiersema

Anna Wiersema

  • 10,890 Points 10k badge 2x thumb
The child relationship might be something like Event__c or Event__r, whatever shows up in the parent model:



is that helpful?