Document Generation - Loop a sublist inside the loop of another sublist
AnsweredDear all,
Is it currently possible to loop a Sublist inside another Sublist while maintaining the context of the parent item, or to filter the elements of the inner loop accordingly?
E.g. 3 Lists
- Class
- Attendees (Lookup to Class)
- Events (Lookup to Class)
The result should be a generated Document which displays all attendees of a specific class with the corresponding events. The first part (attendees) is easily achievable since Skybow allows to loop through a Sublist , whereas the loop inside this first loop returns ALL events, instead of the correctly filtered elements, with no possibility of changing that.
[[loop attendees]][[end loop]] works perfectly but
[[loop attendees]][[loop events]][[end loop]][[end loop]] does not.
Kind regards,
Patrik
-
Hi Patrik Misurec,
for the second loop to be filtered in the first loop, there would need to be a lookup from events to attendees as well as a dossier configuration where events is the sublist of attendees.
Otherwise you would need to work with the filtered loops using the query parameter as described in the Document Generator introduction.
BR Matthias
0
Please sign in to leave a comment.
Comments
1 comment