[Dhis2-devs] TrackedEntityInstances API call is taking lot of time in DHIS 2.29

2018-07-05 Thread Rajeswari Gottipati
Hi Morten / Lars,

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=2018-04-22&
fields=trackedEntityInstance==
DESCENDANTS=2=1000==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


[Dhis2-devs] UNABLE TO SAVE DATA SET IN DHIS2 2.29 LATEST BUILD

2018-07-05 Thread Stanley Kalyati
Team,

I am using DHIS2 2.29 latest build and i was trying to set up a data set
but i am unable to because the system keeps telling me 'Could not save data
set".

Anyone ever met this scenerio.

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] [Dhis2-users] HOW TO DOWNLOAD TEI'S FROM 2.29 TRACKER CAPTURE

2018-07-05 Thread Markus Bekken
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=DESCENDANTS=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 :
> 
> 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  > 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 > >:
>> 
>> 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-users 
>> 
>> Post to : dhis2-us...@lists.launchpad.net 
>> 
>> Unsubscribe : https://launchpad.net/~dhis2-users 
>> 
>> 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] [Dhis2-users] HOW TO DOWNLOAD TEI'S FROM 2.29 TRACKER CAPTURE

2018-07-05 Thread Stanley Kalyati
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  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 :
>
> 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-users
> Post to : dhis2-us...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> 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] [Dhis2-users] HOW TO DOWNLOAD TEI'S FROM 2.29 TRACKER CAPTURE

2018-07-05 Thread Markus Bekken
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  >:
> 
> 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-users 
> 
> Post to : dhis2-us...@lists.launchpad.net 
> 
> Unsubscribe : https://launchpad.net/~dhis2-users 
> 
> 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