← Back to team overview

dhis2-users team mailing list archive

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

 

Stanley, try this URL:
https://fhi360mal.baosystems.com/api/trackedEntityInstances/query.csv <https://fhi360mal.baosystems.com/api/trackedEntityInstances/query.csv>

> 22. aug. 2018 kl. 12:14 skrev Morten Olav Hansen <morten@xxxxxxxxx>:
> 
> I mean the name of your actual .war file, not the version of DHIS2... since you are getting a 404, it means you are pointing to an invalid URL, and that error is coming from tomcat and not dhis2.. which means you are probably not pointing to the right path on your tomcat server.
> 
> -- 
> Morten Olav Hansen
> Senior Engineer, DHIS 2
> Team Integration Lead
> University of Oslo
> http://www.dhis2.org
>  <http://www.dhis2.org/>
> 
> On Wed, Aug 22, 2018 at 2:42 PM Stanley Kalyati <skalyati@xxxxxxxxx <mailto:skalyati@xxxxxxxxx>> wrote:
> Dear Morten,
> 
> Yes it is 2.29.
> 
> 
> 
> On Wed, Aug 22, 2018 at 9:29 AM Morten Olav Hansen <morten@xxxxxxxxx <mailto:morten@xxxxxxxxx>> wrote:
> Hi
> 
> Is your war file named 2.29? if not the start of that path is wrong (we have 2.29 2.28 etc on your play server to be able to have multiple instances..)
> 
> -- 
> Morten Olav Hansen
> Senior Engineer, DHIS 2
> Team Integration Lead
> University of Oslo
> http://www.dhis2.org
>  <http://www.dhis2.org/>
> 
> On Wed, Aug 22, 2018 at 2:13 PM Markus Bekken <markus.bekken@xxxxxxxxx <mailto:markus.bekken@xxxxxxxxx>> wrote:
> Hey again!
> Can you send me the full link you are trying, and also the link to the login page of your dhis instance?
> 
> Markus
> 
>> 22. aug. 2018 kl. 08:57 skrev Stanley Kalyati <skalyati@xxxxxxxxx <mailto:skalyati@xxxxxxxxx>>:
>> 
>> 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 <mailto: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 <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 <mailto: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 <mailto: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 <mailto: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 <mailto: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 <mailto:skalyati@xxxxxxxxx>> wrote:
>>>> Anyone to assist here?
>>>> 
>>>> On Fri, Jun 29, 2018 at 11:56 AM Stanley Kalyati <skalyati@xxxxxxxxx <mailto: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 <https://launchpad.net/~dhis2-devs>
>>>> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx <mailto:dhis2-devs@xxxxxxxxxxxxxxxxxxx>
>>>> Unsubscribe : https://launchpad.net/~dhis2-devs <https://launchpad.net/~dhis2-devs>
>>>> More help   : https://help.launchpad.net/ListHelp <https://help.launchpad.net/ListHelp>
>>>> 
>>>> 
>>>> _______________________________________________
>>>> Mailing list: https://launchpad.net/~dhis2-users <https://launchpad.net/~dhis2-users>
>>>> Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx <mailto:dhis2-users@xxxxxxxxxxxxxxxxxxx>
>>>> Unsubscribe : https://launchpad.net/~dhis2-users <https://launchpad.net/~dhis2-users>
>>>> More help   : https://help.launchpad.net/ListHelp <https://help.launchpad.net/ListHelp>
>> 
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-users <https://launchpad.net/~dhis2-users>
> Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx <mailto:dhis2-users@xxxxxxxxxxxxxxxxxxx>
> Unsubscribe : https://launchpad.net/~dhis2-users <https://launchpad.net/~dhis2-users>
> More help   : https://help.launchpad.net/ListHelp <https://help.launchpad.net/ListHelp>


References