There is a JSON file of this structure:
{ "person" { "someElement" : "test", "operationsList": [ { "date": 1505980686916, "sendersLastName": "last", "sendersFirstName": "first", "sendersSecondName": "second", "operationDetailsList" : [ { "innerKey" : "key1", "innerValue" : "value1" }, { "innerKey" : "key2", "innerValue" : "value2" } ], "operationCurrencyAmount": 456, "operationCurrencyCode": "TEST" }, { "date": 1505980686916, "sendersLastName": "last", "sendersFirstName": "first", "sendersSecondName": "second", "operationDetailsList" : [ { "innerKey" : "key1", "innerValue" : "value1" }, { "innerKey" : "key2", "innerValue" : "value2" } ], "operationCurrencyAmount": 456, "operationCurrencyCode": "TEST" }, ], "otherField" : "testValue" }, "booleanFlag" : true } Created jr: list with "operationsList" elements: subDataSource ("person.operationsList") .
Inside this (operationsList) sheet, there is another jr: list (operationDetailsList): subDataSource ("operationDetailsList")
Question: It is necessary inside the child (operationDetailsList) sheet to use the root element "booleanFlag" as the printWhenExpression for one of the fields (for example, "innerKey"). However, in the list of available fields there are only fields from subDataset = "operationDetailsList", i.e. only "innerKey" and "innerValue" are available. Can I access the "booleanFlag" element from a leaf in a leaf?