I'm trying to access the selected features from within Velocity in a LiveReport. I managed to find out how to access a FeatureSelectionItem using the defined custom field within a given Variant WorkItem (in variable $variant), and to get the selection type (included / excluded) out of it:
Code: Select all
#set($featureSelection = $variant.getCustomField("featureSelection"))
#foreach($selection in $featureSelection.selections)
$selection.selectionType.id </br>
#end
However, I don't have any clue on how to get the associated Feature WorkItem out of the FeatureSelectionItem.
I tried
Code: Select all
$selection.feature
Is there anyone who can help?
Many thx in advance!