Re: [Dhis2-devs] merging facilities (org-units) without losing data

2018-01-24 Thread moses mwale
Hey Jason And Knut, thanks for the information, i have been trying to understand the sql script shared and tried to execute but to no effect, please can you help me understand where to place the source id and orgunit ids in the script after several attempts of try its has became more complex. I

[Dhis2-devs] Removing user-installed App

2018-01-24 Thread Calle Hedberg
Hi, I've just installed a standard app for testing - installation seemingly worked OK, but the app itself does not work. The problem is that the usual popup menu (the three dots) on the app only opens the app - there is not "remove" option. Is there another way to remove such user-installed

Re: [Dhis2-devs] Fast/bulk delete of events

2018-01-24 Thread Calle Hedberg
Hi, For events without registration, bulk deleting directly in the database is easy: 1. Delete all relevant data element records in the table trackedentitydatavalue (and if relevant trackedentitydatavalueaudit) 2. Delete the "case" records in the table programstageinstance Alex' method using the

Re: [Dhis2-devs] Fast/bulk delete of events

2018-01-24 Thread Petar Jovanovic
Thanks a lot Alex! Anyhow, it would be a convenient feature for end users to do it through the DHIS2 interface as well. Best, Petar Obtener Outlook para Android On Wed, Jan 24, 2018 at 9:32 PM +0100, "Alex Tumwesigye" wrote: Hi,The easier

Re: [Dhis2-devs] Fast/bulk delete of events

2018-01-24 Thread Alex Tumwesigye
Hi, The easier way is to use the api/events endpoint and query for events uids you want to delete. Once you have them, you can send http delete method via curl or nodejs or python or php,etc and loop through each to delete them via api/events/uid. Alex On Wednesday, January 24, 2018, Petar

[Dhis2-devs] Fast/bulk delete of events

2018-01-24 Thread Petar Jovanovic
Hi, We want to quickly (in groups) delete events related to a specific program and/or to a specific org unit (or list of org units). In DHIS2, we only managed to go one by one in the event capture app. Can anyone recommend us any other convenient and faster way to do this, or if you are