Hi all,
Is there a script to catch Program Indicator group Names + Program indicator (id, Name) + Program (event, Tracker) they belong to?
Looking forward to an answer
Thanks in advance
Hi all,
Is there a script to catch Program Indicator group Names + Program indicator (id, Name) + Program (event, Tracker) they belong to?
Looking forward to an answer
Thanks in advance
You could use the API. For instance, the programIndicatorGroups endpoint will list for you all the program indicator groups and you can use the fields parameter to show group name as well as the id and name for each program indicator in that group.
For example, Your_Instance_URL/api/programIndicatorGroups?fields=id,name,programIndicators[id,name,program[name]]
I hope this is what you are looking for? If not, please explain further or provide an example maybe from the use case. Thanks!