Template using Google Docs

Hi all,

paula_2-1678784227981.png

paula_1-1678784201584.png

For my email template, I'm using the table Form to get the details like client name, address, etc. But I want to display the items too - which is in a different table. Is there a way to do so? Thanks a lot in advance!

 

0 9 645
9 REPLIES 9

Aurelien
Google Developer Expert
Google Developer Expert

Thank you sir!

However, if I correctly understand, they're talking about the Tables in the google docs, while I'm talking about the Table inside the Bot from which I'm getting the data. 

paula_0-1678785534879.png

This are the tables, I want to get details from Add Items table to put in my email template.

paula_1-1678785667025.png

Thanks again!

OK, thanks for clarifying.

However, is this statement still correct?


@paula wrote:

For my email template, I'm using the table Form to get the details like client name, address, etc. But I want to display the items too - which is in a different table. Is there a way to do so? Thanks a lot in advance!


 If so, you probably have a column named "Related Add Itemss" in your table Form.

And then, your expression would then be:

<<Start:[Related Add Items]>> {your information to display} <<End>>

Can you confirm?

 

Thank you again,

Yes, that's correct. I see that you're talking about the related item which should be the child table of my parent table Form. I'm still reading the Start Expression article. Slowly trying to understand and relate to what I'm doing though it's written in simple words. One more thing please, where do I put that expression? Is it in the template? In which part if so? Thank you so much!


@paula wrote:

Slowly trying to understand and relate to what I'm doing though it's written in simple words.


You may want to read this for a better understanding: 

References between tables - AppSheet Help


@paula wrote:

One more thing please, where do I put that expression? Is it in the template? In which part if so?


You may want to try it this way (this is a random example, you need to adapt it to your case):

TimeStamp Item description Item picture Item quantity
<<Start:[Related Add Itemss]>><<[timestamp]>> <<[description]>> <<[photo]>> <<[quantity]>><<End>>

This is the child table,

paula_0-1678786979775.png

Then, say this is what I wanna get from that table,

paula_1-1678787025070.png

Then should I do it like this?

paula_2-1678787066476.png

Thank you!!!

The child table should a a Ref type column to your parent table. Otherwise, the "Related XXX" should not work.

I think the table structure needs to be reviewed.

Can you read this?


@Aurelien wrote:

References between tables - AppSheet Help


Otherwise, your template looks almost correct. Just set the <<End>> in the last cell, on the very right.

 

Thanks!

I already referenced the child table,

paula_0-1678850733068.png

And this is now what's in my template,

paula_1-1678850777850.png

But why is this not working?

It looks good.

Can you please: 

- share a screenshot of your table Form

- share a screenshot of your table Add Items

- make sure the bot is running against the table Form

- share a screenshot of your bot components (Event + Process + Step)