Accessing Groups using VTL

Uploaded report templates and discussions about reports.

Moderators: sarawut_w, Moderators

Accessing Groups using VTL

Postby » Fri Sep 15, 2023 8:07 am

I am trying to write a report template to create a requirements document. I need to be able to group requirements in a certain way inside the document. I reckon the best way to do this is to create requirement groups inside the Cameo model that groups requirements into the right groupings and then access the groups from the report template script. That way, I can use Cameo to select exactly the requirements I want to be present in each section of the report. Sounds good huh?

However, I don't seem to be able to access the groups from the VTL script.

I would have thought something like this would work but it doesn't:

#foreach($grp in $group.getNames())
Group: $grp

Any ideas?
Thanks in advance,
Forum Newbie
Forum Newbie
Posts: 1
Posts Rating:0
Joined: Fri Sep 15, 2023 8:02 am

Return to Report Engine

Who is online

Users browsing this forum: No registered users and 0 guests