I am trying to create a report that will put the repeats in a table row by row (this works fine), but then I want to place the pictures that are taken within the repeats at the end of the table. I think I am following the syntax examples correctly. When I try to load the report template with the photos portion, it gives me an error ‘Failed to parse ${photos} since field name or parameter photos cannot be found in the current parsing scope’.
When I do it without the photos portion, it works fine. Probably a syntax problem but I cannot figure it out. I have attached some screen shots and the xlsx form and report template.
Using Connect 3.10.323
Thanks, Elizabeth
Solved! Go to Solution.
Hi @ElizabethHovsepian thanks for providing your XLSForm and report template.
The photos question is inside the tasks repeat, so in the report template this question must be placed inside the repeat's start and end tags (noting that if your repeat is in a table, the start and end tags must be in the first and last cells in the table, respectively).
Please find attached an example report template showing a couple of options:
For more information, please see the section on repeats in the Report templates documentation.
Hope this helps. Best, Jim
Hi @ElizabethHovsepian thanks for providing your XLSForm and report template.
The photos question is inside the tasks repeat, so in the report template this question must be placed inside the repeat's start and end tags (noting that if your repeat is in a table, the start and end tags must be in the first and last cells in the table, respectively).
Please find attached an example report template showing a couple of options:
For more information, please see the section on repeats in the Report templates documentation.
Hope this helps. Best, Jim
Thank you, Jim. I got it to work as needed. Thanks for giving me the example for the 2nd type.
Elizabeth