Edit template fields in table on Tab page

edited December 13, 2019 in Questions
I created a the exact page that I need to see - it's a tab page with a table iimagen 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.

Comments

  • edited November 30, 2015
    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
  • Rob HatchRob Hatch 🛠️ 
    edited September 1, 2016
    Make sure that the child relationship is called Event.  Its not really the object name that matters - its the child relationship name. 
  • edited December 1, 2015
    Can you give me an example because I don't understand the difference.  Thanks!
  • Anna WiersemaAnna Wiersema 🛠️ 
    edited December 13, 2019
    The child relationship might be something like Event__c or Event__r, whatever shows up in the parent model:

    image

    is that helpful?
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!