Android Sync Filtered on program Stage Working List

Hi Dear DHIS2 community,

Happy new year to the CoP :slight_smile:

I have been trying to use the new feature from Android Capture App and Android Seetings Web App, which enables to filter downloaded TEIs using “Views” Saved from Capture Web App.

The documentation of this feature is here:
[DHIS2 Android Settings Web App version 2.5.0 is released - Announcements - Annonces - DHIS2 Community](DHIS2 Android Settings Web App version 2.5.0 is released - #2 by philip27

I tried to use this feature on Version 2.41.6 with Android App (Edit: 3.3.0.1) with a Tracker Program with One program Stage.

It seems that “Sync based on user configuration (working list)” is working when using only TEI levels filters (TEI attributes filters for instance). In this case I notice the view is saved as “api/trackedEntityInstanceFilters".

However, I also tried to use a view based on filters on dataElements within a program Stage in the Capture APP. In this case, the view from Capture App is saved as a /api/programStageWorkingLists.

In this case, when syncing with the Android App, I have 0 TEI downloaded. It seems to be the case with any view saved as “programStageWorkingLists”. Even if on Capture Web App, the view displays the events as expected.

Can anyone confirm if the filters for a tracker Program to be used in Android Seeetings Web App, are limited to the api/trackedEntityInstanceFilters", and can not be used with programStageWorkingLists?

I also posted this message on Jira: [ANDROAPP-7011] Sync based on user configuration (working list) - Jira

Thanks in advance and have a very good day

2 Likes

Hi @gregory

Happy new year to you too!

Thanks for the detailed post..

I’m not 100% sure this will solve the problem but you might actually want to update your Android app to (version 3.3.0 or later).

Please keep us updated whether this solves the issue or not.

Thanks!

Hi @Gassim

Thanks for your reply. Sorry I mispelled the version number, I have been doing those tests using the Version 3.3.0.1 and not 3.1.0.1. So, as far as I know, this is the lastest Android capture App available at the moment. I will edit my previous post to make it clearer. Thanks again

Hello @gregory,

Thanks for reporting the issue. I added a reply in the JIRA ticket, let’s continue the conversation there Jira.

2 Likes

Hi @vgarciabnz I replied on the jira ticket, and indedd after removing the filter on the event status, I finally managed to have TEIs downloaded on the android capture app.
Thanks for the follow up

1 Like