Hi all,
I am currently trying to create a feature report template that contains a table with all the entries from a repeat describing geological layers (repeat name blue and questions within repeat green). I would now like to add a variable (${water_level}) from outside of the repeats (recorded after the repeats in my app) in the middle of the table displaying the repeat entries.
Largeur de couche | Profondeur | Niveau d'eau | Nature du terrain | Coupe technique |
${#new_layer}${layer_width} | ${layer_bottom} | ${water_level} | ${description} | ${tech_layer}${/} |
Whenever i try to upload the feature report template i get the following error message:
Failed to parse ${water_level}. Field ${water_level} does not exist or cannot be found in current parsing scope.
However if i print the variable somewhere outside the table everything's fine.
I tried creating a calculate field within the repeat based on the ${water_level} variable outside of the repeat, but as the ${water_level} is only specified after recording several layers in the repeat, the water level value gets only assigned to the calculate field of the last repeat entry.
Does someone have an idea how i could solve this?
Cheers,
Flo
feature report
repeat template
survey 123 repeat