I am using a form with a header/lines setup and upon additions to the header table, Iโm sending the data through to a task (based on some conditions) to email the submitted information out.
I wanted to change the reply-to address so Iโm using a non-default output configuration and I chose to let AppSheet create the output body template for me:
However, when I get the email, Iโm missing all of the โlinesโ and only get the header information even though the lines are referenced exactly as this document lines out:
Using Start expressions in templates | AppSheet Help Center
When I look at the event monitor, the referenced lines (VC) just shows: โโ even though there are lines which reference the header.
Event Monitor
Data source (showing a line w/ the same header ID)
It seems like a bug, but maybe Iโm using the wrong approach?
Solved! Go to Solution.
Your START formula is missing the key column e.g.
<<START: [Related PO Request Lines][Key Column]>>
The original <<Start>>
expression was fine: [Related PO Request Lines]
is already a list of Ref
.
@1minManager thanks for your reply!
I added that and Iโm still getting the same results.
Check that this column is not actually empty in the App
Also try this as well <<START: Select([Related PO Request Lines][Key Column],TRUE)>>
@1minManager well, the column โRelated PO Request Linesโ is a Virtual Column with the formula REF_ROWS(โPO Request Linesโ, โHeader IDโ)
To clarify, am I supposed to be using the key column of the reference table (โPO Request Linesโ) or the header table (โPO Request Headerโ)?
Hereโs what I have:
Thanks Steve!
This worked!
User | Count |
---|---|
40 | |
35 | |
30 | |
23 | |
17 |