How to name entities parameter in report settings

What should be “List of entities parameter name” if i want to reference parent band.
as report parameter i have single entity which has list of records related to it and for each record in collection i need to add new list.

I’m afraid the List of entities dataset will not work for collection of another collection. You’ll have to use JPQL or Groovy dataset here.

Thank you. How can i reference list item from parent Band in groovy script?

You can use the parentBand object to access the parent band data. E.g.:

def groupId = parentBand.getParameterValue('groupId')

See Groovy Dataset - CUBA Platform. Report Generator

1 Like