[Dhis2-devs] Read fileResource data directly

2016-06-02 Thread chathura widanage
Hi devs, Is there a way to read the content of a fileResource without linking the resource to a dataValue. example scenario : Upload a CSV which contains some arbitrary data and read it immediately. I won't need these data after the first read. Regards, Chathura

Re: [Dhis2-devs] Read fileResource data directly

2016-06-02 Thread chathura widanage
eer, DHIS 2 > University of Oslo > http://www.dhis2.org > > On Thu, Jun 2, 2016 at 2:03 PM, chathura widanage < > chathurawidan...@gmail.com> wrote: > >> Yes, display in a chart as a preview. Part of the data(selected rows) >> will be then saved as an attribute in

Re: [Dhis2-devs] Read fileResource data directly

2016-06-02 Thread chathura widanage
knu...@gmail.com> wrote: > Sure, but what is it you want to do with this after retrieving? Display it > somehow? > > Knut > > On Thu, Jun 2, 2016 at 11:11 AM, chathura widanage < > chathurawidan...@gmail.com> wrote: > >> Thanks for the response, wha

Re: [Dhis2-devs] Read fileResource data directly

2016-06-02 Thread chathura widanage
can't you just > process it on the client? > > -- > Morten Olav Hansen > Senior Engineer, DHIS 2 > University of Oslo > http://www.dhis2.org > > On Thu, Jun 2, 2016 at 2:16 PM, chathura widanage < > chathurawidan...@gmail.com> wrote: > >> Hi Morten, >&

Re: [Dhis2-devs] Read fileResource data directly

2016-06-02 Thread chathura widanage
you don't have to support every >> single version of IE.. I think it's safe to use it :) (it also removes the >> need to store tmp files on the server) >> >> -- >> Morten Olav Hansen >> Senior Engineer, DHIS 2 >> University of Oslo >> http:

Re: [Dhis2-devs] Read fileResource data directly

2016-06-02 Thread chathura widanage
by "read"? > > Knut > > On Thu, Jun 2, 2016 at 10:53 AM, chathura widanage < > chathurawidan...@gmail.com> wrote: > >> Hi devs, >> >> Is there a way to read the content of a fileResource without linking the >> resource to a dataValue. >> &g

Re: [Dhis2-devs] Testing the tracker capture changes

2016-06-21 Thread chathura widanage
heck > out the Web client on the /dev server, which is updated when the continuous > server is finished, something around every hour: > > http://play.dhis2.org/dev/ > > http://ci.dhis2.org/ > > > regards, > > Lars > > > > > > On Mon, Jun 20, 2016

Re: [Dhis2-devs] Testing the tracker capture changes

2016-06-21 Thread chathura widanage
It is 2.23 Thanks On 21 Jun 2016 18:12, "Abyot Asalefew Gizaw" <ab...@dhis2.org> wrote: > Hi Chathura, > > Which version of DHIS 2 are you using? > > -- > Abyot A. Gizaw. > Senior Engineer, DHIS2 > University of Oslo > http://www.dhis2.org > > O

Re: [Dhis2-devs] Testing the tracker capture changes

2016-06-21 Thread chathura widanage
> > -- > Abyot A. Gizaw. > Senior Engineer, DHIS2 > University of Oslo > http://www.dhis2.org > > On Tue, Jun 21, 2016 at 2:49 PM, chathura widanage < > chathurawidan...@gmail.com> wrote: > >> It is 2.23 >> >> Thanks >> On 21 Jun 201

[Dhis2-devs] Testing the tracker capture changes

2016-06-20 Thread chathura widanage
Hi devs, Could you please suggest me a efficient way to test the changes done to tracker capture, without having to build the whole thing which usually takes more than 15mins. Thanks ___ Mailing list: https://launchpad.net/~dhis2-devs Post to :

[Dhis2-devs] GSOC 2016

2016-03-01 Thread chathura widanage
Hi, I am Chathura Widanage from department of computer science and engineering, Univeristy of Moratuwa., Sri Lanka. I am interested in the three proposed projects, "*5. Enhance existing DHIS2 android dashboard application*", "*2. Partial rendering of front-end, ReactJS based appl

Re: [Dhis2-devs] Best possible approach to list all the data elements of a program

2016-05-15 Thread chathura widanage
: > >> Hi Chathura, >> >> Yeah, it is pretty powerful. More examples in the documentation, also on >> filtering exactly which results and what fields you like to see. >> >> Have fun! >> Knut >> >> On Sun, May 15, 2016 at 7:17 PM, chathur

[Dhis2-devs] Best possible approach to list all the data elements of a program

2016-05-15 Thread chathura widanage
Dear devs, What will be the best possible approach (minimum number of API calls) to get all the dataElements which are relevant for a selected program. I couldn't find out a direct API call for this, so currently following the below flow. Program (1) -> programStages (n) ->

Re: [Dhis2-devs] Best possible approach to list all the data elements of a program

2016-05-15 Thread chathura widanage
aElements[:all]] >> >> On Sun, May 15, 2016 at 6:48 PM, chathura widanage < >> chathurawidan...@gmail.com> wrote: >> >>> Dear devs, >>> >>> What will be the best possible approach (minimum number of API calls) to >>> get all the

[Dhis2-devs] Tracked Entity Instances Query - SQL syntax error

2016-08-15 Thread chathura widanage
Regards, *Chathura Widanage,* Undergraduate, Department of Computer Science and Engineering, University of Moratuwa, Sri Lanka <https://www.linkedin.com/profile/public-profile-settings?trk=prof-edit-edit-public_profile> <http://facebook.com/chathura.widanage> <https://plus

Re: [Dhis2-devs] Tracked Entity Instances Query - SQL syntax error

2016-08-25 Thread chathura widanage
t;>> On Wed, Aug 17, 2016 at 7:24 PM, Pamod Amarakoon <pam...@gmail.com> >>>> wrote: >>>> >>>>> Thank you Morten. >>>>> >>>>> On Wed, Aug 17, 2016 at 7:10 PM, Morten Olav Hansen <mor...@dhis2.org> >>>>>

[Dhis2-devs] Missing two event statuses

2016-09-09 Thread chathura widanage
statuses in upper if/else blocks? Are these two statuses reserved for a special purpose? Thanks & Regards, Chathura Widanage, Undergraduate, Department of Computer Science and Engineering, University of Moratuwa, Sri Lanka ___ Mailing list: h

Re: [Dhis2-devs] Event analytics include unenrolled TEIs

2016-09-13 Thread chathura widanage
t;> Not possible at the moment, but we will consider a filter to allow for >> this. >> >> Blueprint here: https://blueprints.launchpad.net/dhis2/+spec/event- >> analytics-program-status-filter >> >> Jan >> >> On 9 September 2016 at 12:58, chath

[Dhis2-devs] Event analytics include unenrolled TEIs

2016-09-09 Thread chathura widanage
delete the TEI. Is there any parameter that can be set i n order to eliminate the unenrolled TEIs from the results? Thanks in advance. Regards, ​ Chathura Widanage Undergraduate, Department of Computer Science and Engineering, University of Moratuwa, Sri Lanka

Re: [Dhis2-devs] SQL Views Dependency Issue

2016-10-05 Thread chathura widanage
hen A, and you should be good. > > best regards, > > Lars > > On Tue, Oct 4, 2016 at 11:10 AM, chathura widanage < > chathurawidan...@gmail.com> wrote: > >> Dear Devs, >> >> We have two SQLViews created in DHIS2 v2.24 where one view depends on >> o

[Dhis2-devs] SQL Views Dependency Issue

2016-10-04 Thread chathura widanage
procedure fails including analytics table generation. Is there a way to make DHIS2 scheduled event drop A before B in above case. Thanks & Regards, Chathura Widanage ___ Mailing list: https://launchpad.net/~dhis2-devs Post to : dhis2-devs@lists.launchpad

Re: [Dhis2-devs] SQL Views Dependency Issue

2016-10-09 Thread chathura widanage
Hi, Any update on this? Thanks On Thu, Oct 6, 2016 at 11:27 AM, chathura widanage < chathurawidan...@gmail.com> wrote: > Hi Lars, > > We have two sets of SQL Views, > > - > dnms nutrition last event (A) > dnms nutrition psi pi map(B) > > Here A depends on B

Re: [Dhis2-devs] Tracked Entity Instances Query - SQL syntax error

2016-08-26 Thread chathura widanage
views are working fine in a 2.23 (23041, ​ 2016-06-30 20:26) instance. Thank you. On Thu, Aug 25, 2016 at 6:10 PM, chathura widanage < chathurawidan...@gmail.com> wrote: > Thank you Morten. > > On 25 Aug 2016 13:00, "Pamod Amarakoon" <pam...@gmail.com> wrote: >

[Dhis2-devs] [GSoC] Longitudinal Charts for Tracker

2016-08-28 Thread chathura widanage
Hi devs, I am Chathura Widanage from Univeristy of Moratuwa, Sri Lanka. I have developed a module to support longitudinal charts in DHIS2 under the GSoC program and I would like to share the details of my work with the community. Please follow this link for more information about my project

Re: [Dhis2-devs] Tracker Capture's attributes

2016-10-14 Thread chathura widanage
> > thank you > channara > > ___ > 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 > > -- Best Regards, *

[Dhis2-devs] Aggregating events based on last value of the data element

2017-04-01 Thread chathura widanage
(2 SQL views + 1 Query) to generate above results, but that is extremely inefficient and expensive. Thanks -- Best Regards, *Chathura Widanage,* Undergraduate, Department of Computer Science and Engineering, University of Moratuwa, Sri Lanka <https://www.linkedin.com/profile/public-profil

Re: [Dhis2-devs] Aggregating events based on last value of the data element

2017-04-10 Thread chathura widanage
hathura, >>>> >>>> it seems that the query you want to make below can be achieved with >>>> enrollment program indicators. Assuming the program is built as a multiple >>>> event with registration, and the DE1 is part of a repeating program stage, >>&

[Dhis2-devs] Recaptcha Support for Login

2017-07-25 Thread chathura widanage
Hi devs, Is there any native support for integrating recaptcha for login? Thanks, Chathura ___ Mailing list: https://launchpad.net/~dhis2-devs Post to : dhis2-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~dhis2-devs More help :

[Dhis2-devs] NullPointerException in AbstractEventService.java

2017-12-05 Thread chathura widanage
Hi devs, We have encountered a null pointer exception from AbstractEventService.java when trying to add a new event using Event Capture. Anyway, when looking at the code I realized that, null pointer exception is possible in the following piece of code. List programInstances =

[Dhis2-devs] Making use of renderOptionsAsRadio property of Option Sets in custom forms.

2018-04-09 Thread chathura widanage
​Hi, This query is regarding Event Capture app. HISP Sri Lanka has a requirement of rendering a set of radi​o buttons, instead of a (or ui-select) for an option set in a custom form. We have noticed that in defaultForm.html, this case has been handled by utilizing the property