← Back to team overview

dhis2-devs team mailing list archive

Re: [Dhis2-users] HOW TO DOWNLOAD TEI'S FROM 2.29 TRACKER CAPTURE

 

Hi Markus,

I have tried wgoing directly to the API but i keep getting this error
What could be the problem.I am using version 2.29
HTTP Status 404 - /2.29/api/29/trackedEntityInstances/query.csv

On Thu, Jul 5, 2018 at 9:32 AM Markus Bekken <markus@xxxxxxxxx> wrote:

> Hey Stanley,
> thanks for the feedback.
>
> You can go directly to the API and get the CSV:
>
> https://play.dhis2.org/2.28/api/28/trackedEntityInstances/query.csv?ou=ImspTQPwCqd&ouMode=DESCENDANTS&program=WSGAb5XwJ3Y
>
> - ou would be the UID of your top/root organization unit.
> - program would be the uid of the program you want to download TEIs for.
>
> You can perhaps create a "external resource" and put this link on a
> dashboard for use of your end users.
>
> Let me know if this helps :)
>
> Markus
>
> 5. jul. 2018 kl. 10:18 skrev Stanley Kalyati <skalyati@xxxxxxxxx>:
>
> Hey Markus,
>
> This makes alot of sense though.
>
> However,my issue is when i want to download the entire list of TEI's into
> an excel or CV for other analysis outside DHIS2,i can not do so.Initially i
> would simply List All and download the list of TEI's.
>
> If there is a way i can do that,then thats fine.
>
> Thank you
>
> Stanley
>
> On Thu, Jul 5, 2018 at 9:06 AM Markus Bekken <markus@xxxxxxxxx> wrote:
>
>> Hey Stanley,
>> You are right - the "List all" button is no longer there in the reworked
>> UI of 2.29. We are actively working on making the Tracker data more secure,
>> and the use case for the list all function was perhaps not understood
>> properly by us when we designed 2.29. Can you let us know a bit about your
>> use case? Will the end user click the button to list all TEIs in the entire
>> system and start paging through the list?
>>
>> Best regards,
>> Markus
>>
>>
>> 4. jul. 2018 kl. 17:25 skrev Stanley Kalyati <skalyati@xxxxxxxxx>:
>>
>> 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 <martavila@xxxxxxxxx> 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 <skalyati@xxxxxxxxx> wrote:
>>>
>>>> Anyone to assist here?
>>>>
>>>> On Fri, Jun 29, 2018 at 11:56 AM Stanley Kalyati <skalyati@xxxxxxxxx>
>>>> 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@xxxxxxxxxxxxxxxxxxx
>>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>>> More help   : https://help.launchpad.net/ListHelp
>>>>
>>>>
>>> _______________________________________________
>> Mailing list: https://launchpad.net/~dhis2-users
>> Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~dhis2-users
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>>
>

Follow ups

References