Re: [Dhis2-devs] HOW TO DOWNLOAD TEI'S FROM 2.29 TRACKER CAPTURE
Hi Marta, Actually when i select an OU i am able to see the TEI's but to display all TEI's across all OU's like we used to in versions 2.28 below where we could select 'List All' and all TEI's could be displayed,i dont see it in 2.29. Any ideas On Wed, Jul 4, 2018 at 4:18 PM Marta Vila wrote: > Hi Stanley, > > not seeing yout TEI's could be caused by the "Display front page list" > parameter not being marked. > It is in the program details step when you create or edit your program. > > Cheers, > Marta > > On 4 July 2018 at 16:11, Stanley Kalyati wrote: > >> Anyone to assist here? >> >> On Fri, Jun 29, 2018 at 11:56 AM Stanley Kalyati >> wrote: >> >>> With other versions of DHIS2,i would simply click on List All and all >>> TEI regardless of OU registered from,they would all appear and i would >>> download and review i may. >>> >>> How can i do this in 2.29? >>> >>> Thanks >>> >>> Stanley >>> >> >> ___ >> Mailing list: https://launchpad.net/~dhis2-devs >> Post to : dhis2-devs@lists.launchpad.net >> Unsubscribe : https://launchpad.net/~dhis2-devs >> More help : https://help.launchpad.net/ListHelp >> >> > ___ Mailing list: https://launchpad.net/~dhis2-devs Post to : dhis2-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~dhis2-devs More help : https://help.launchpad.net/ListHelp
Re: [Dhis2-devs] HOW TO DOWNLOAD TEI'S FROM 2.29 TRACKER CAPTURE
Hi Stanley, not seeing yout TEI's could be caused by the "Display front page list" parameter not being marked. It is in the program details step when you create or edit your program. Cheers, Marta On 4 July 2018 at 16:11, Stanley Kalyati wrote: > Anyone to assist here? > > On Fri, Jun 29, 2018 at 11:56 AM Stanley Kalyati > wrote: > >> With other versions of DHIS2,i would simply click on List All and all TEI >> regardless of OU registered from,they would all appear and i would download >> and review i may. >> >> How can i do this in 2.29? >> >> Thanks >> >> Stanley >> > > ___ > Mailing list: https://launchpad.net/~dhis2-devs > Post to : dhis2-devs@lists.launchpad.net > Unsubscribe : https://launchpad.net/~dhis2-devs > More help : https://help.launchpad.net/ListHelp > > ___ Mailing list: https://launchpad.net/~dhis2-devs Post to : dhis2-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~dhis2-devs More help : https://help.launchpad.net/ListHelp
Re: [Dhis2-devs] HOW TO DOWNLOAD TEI'S FROM 2.29 TRACKER CAPTURE
Anyone to assist here? On Fri, Jun 29, 2018 at 11:56 AM Stanley Kalyati wrote: > With other versions of DHIS2,i would simply click on List All and all TEI > regardless of OU registered from,they would all appear and i would download > and review i may. > > How can i do this in 2.29? > > Thanks > > Stanley > ___ Mailing list: https://launchpad.net/~dhis2-devs Post to : dhis2-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~dhis2-devs More help : https://help.launchpad.net/ListHelp
Re: [Dhis2-devs] Uploading CSV data file with curl
Hi Leke, are you sending METADATA or DATA VALUES? If the latter, you need to use dataValueSets: https://docs.dhis2.org/master/en/developer/html/webapi_data_values.html#webapi_sending_data_values Knut On Wed, Jul 4, 2018 at 5:58 AM Olaleke Seweje wrote: > Hi all, > > I am trying to upload data via CURL as specified in the dev docs - 1.9.2. > Creating > and updating objects. My request is as follows: > > > curl -d @file._name.csv "http://myHostName/api/26/dataElements"; -X POST > "Content-Type: application/csv" -u username:password > > > > *The response I got was * > > > {"httpStatus":"Unsupported Media > Type","httpStatusCode":415,"status":"ERROR","message":"Content type > 'application/x-www-form-urlencoded' not supported"}curl: (6) Could not > resolve host: Content-Type > > I have tried content type text/csv as well but got similar results. > > My questions > 1. Is my endpoint http://myHostName/api/26/dataElements the correct one > for uploading data values via API? > > 2. Is the request format correct? > > 3. Is there something I need to set on my DHIS instance to make it support > such operations? > > Thanks for your help. > > > -- > Regards, > Leke Seweje > ___ > Mailing list: https://launchpad.net/~dhis2-devs > Post to : dhis2-devs@lists.launchpad.net > Unsubscribe : https://launchpad.net/~dhis2-devs > More help : https://help.launchpad.net/ListHelp > -- Knut Staring Department of Information, Evidence and Research World Health Organization, Geneva, Switzerland Office: +41 22 791 3683 Mob1: +33 6 4434 2931 Mob2: +47 9188 0522 Skype: knutstar ___ Mailing list: https://launchpad.net/~dhis2-devs Post to : dhis2-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~dhis2-devs More help : https://help.launchpad.net/ListHelp
[Dhis2-devs] TrackedEntityInstances API call is taking lot of time in DHIS 2.29
Hi All, We are upgrading from DHIS 2.27 to DHIS 2.29. We are making the below call to get the trackedentityinstance ids. http:// /api/trackedEntityInstances.json?eventEndDate=2018-07-08&eventStartDate=2018-04-22&fields=trackedEntityInstance&ou=&ouMode=DESCENDANTS&page=2&pageSize=1000&program=&totalPages=true The thing what we observed is this call is taking 1 or 2 secs with DHIS 2.27 but it is taking around 25 secs with DHIS 2.29. Could you please help us understand why it is taking this much time in DHIS 2.29. Also, Is there any plan to optimize this in near future? Thanks, Rajeswari & Gaurav. ___ Mailing list: https://launchpad.net/~dhis2-devs Post to : dhis2-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~dhis2-devs More help : https://help.launchpad.net/ListHelp