Re: [Dhis2-devs] Deletion of Program and all associated objects via API v 2.25

2017-05-30 Thread Jason Pickering
Hi Lorill, Is the data element linked to a chart, pivot or map? Regards, Jason On Mon, May 29, 2017 at 9:58 PM, Lorill Crees wrote: > Hi, > > Further to this, for some of our programs we are unable to delete > programdataelements via the Web API due to the following error: > > ERROR: update o

Re: [Dhis2-devs] Deletion of Program and all associated objects via API v 2.25

2017-05-30 Thread Lorill Crees
Hi Jason, How can I programatically determine this via the Web API? Are DataDimensionItems related to favourites? If so, I had asked the dev list about the querying and deletion of favourites via the Web API back in February and had created these three JIRA tasks: https://jira.dhis2.org/browse/DH

[Dhis2-devs] Daily collection of aggregate data

2017-05-30 Thread Lamin Jawara
We want to start  collecting aggregate data daily for Malaria case, I have downloaded Data Capture for DHIS 2  but It does not shows today's date.What is the possible course , any idea why ??? Lamin B. Jawara Ministry of Health & Social Welfare Tel: +220 9907404 / 7229017 Email: lbjawara@yahoo.

Re: [Dhis2-devs] Deletion of Program and all associated objects via API v 2.25

2017-05-30 Thread Jason Pickering
Hi Lorill, I am not too sure off-hand exactly how to do that. I suppose maybe you could loop through all of the available report tables or craft an API query to determine which report tables and other artifacts need to be deleted. These should be available through a report tables endpoint like htt

Re: [Dhis2-devs] Deletion of Program and all associated objects via API v 2.25

2017-05-30 Thread Lorill Crees
Hi Jason, Thanks for the tips. We have already developed a custom data import app in Grails, and have now already incorporated virtually all of the deletion functionality for both Data Sets and Programs via the Web API. The availability of this functionality via the web app is pretty key to the us