Program Indicators With JEXL
In the dhis2 user manual for 2.29 it’s mentioned that the functionality of program indicators (& filters) can be expanded using JEXL. However when I test even the most basic of JEXL functions in a program indicator it just returns the text I put into the expression in the TEI dashboard.
For example on play (2.29) I create a new program indicator with simple JEXL expression:
size("Hello") // Should return 5
In the TEI dashboard I get this:
Is there some special formatting or extra step I am missing here to get this working? There seems to be a lack of good examples available online which is why I’m asking here.
Many thanks for your time,
Pete