Re: [Dhis2-devs] [Dhis2-users] Option Set - Update an option code

2017-01-31 Thread Archana Chillala
Hi Kevin, You could use the optionSets API as follows, with required fields: http://localhost:8080/api/optionSets/.json?fields=id,name,displayName,options[id,name,code] Here, for a given option Set ID, the required fields are fetched. Archana Chillala Application Developer Email

[Dhis2-devs] Dashboard Android apps is not working

2017-01-31 Thread Nayeem Al Mifthah
Dear Developers I have installed the DHIS2 Dashboard apps for Android and it is not showing me the dashboards, I have created on desktop version. Earlier I can see those just after login. Anything I have missed. *Nayeem Al Mifthah* *Consultant for HSS, Health MIS, M* Email: n.mift...@gmail.com

Re: [Dhis2-devs] Errors in JDBC connection

2017-01-31 Thread Neeraj Gupta
Thanks Bob, We will try the options and will let you know the results. On Thu, Jan 26, 2017 at 3:53 PM, Bob Jolliffe wrote: > This seems to be a known problem between mysql, java and c3p0 (the > database connection pool). It seems that mysql resets connections which >

Re: [Dhis2-devs] [Dhis2-users] Event report and event visualizer, data visualizer not loading

2017-01-31 Thread Knut Staring
Hi Adolphe, Did you perhaps also upgrade Tomcat? There is an issue with 2.23 and older versions with new versions of Tomcat. Knut On Tue, Jan 31, 2017 at 8:17 PM, Kamugunga Adolphe wrote: > Hi > Can someone assist me on this issue? > > I am running a dhis 2.23 version, but

[Dhis2-devs] Event report and event visualizer, data visualizer not loading

2017-01-31 Thread Kamugunga Adolphe
Hi Can someone assist me on this issue? I am running a dhis 2.23 version, but recently we have upgraded our postgresql from 9.3 to 9.5. I don't know if i can attribute it to this upgrade, but trying to load event report/visualizer and data visualizer apps, i can't open the apps . the system

Re: [Dhis2-devs] Tracker Program Indicator using data element with option sert

2017-01-31 Thread Markus Bekken
Value code, yes - thank you Calle :) > 31. jan. 2017 kl. 11.03 skrev Calle Hedberg : > > Markus, > > You are saying "optionSETcode" - you do mean "optionVALUEcode"?? > > What Brent wants here is the ability to select one or more optionvalues, not > optionSETs > >

Re: [Dhis2-devs] Tracker Program Indicator using data element with option sert

2017-01-31 Thread Calle Hedberg
Markus, You are saying "optionSETcode" - you do mean "optionVALUEcode"?? What Brent wants here is the ability to select one or more optionvalues, not optionSETs Regards calle On 31 January 2017 at 10:48, Markus Bekken wrote: > Hi there Brent, > As Calle says, you should use

Re: [Dhis2-devs] Tracker Program Indicator using data element with option sert

2017-01-31 Thread Markus Bekken
Hi there Brent, As Calle says, you should use the option set code for the program indicators. In your example below it seems you are using parenthesis around your condition value. You should remove these and use apostrophes to quote the option set code like this: #{programstage.dataelement} ==

Re: [Dhis2-devs] Tracker Program Indicator using data element with option sert

2017-01-31 Thread Calle Hedberg
Brent, Are your program indicators using the option VALUE or the option CODE? regards calle On 31 January 2017 at 09:36, Brent Williams wrote: > Dear all, > > > > I have setup a tracker program, in which the data elements are using > options sets in certain cases. I have

[Dhis2-devs] Tracker Program Indicator using data element with option sert

2017-01-31 Thread Brent Williams
Dear all, I have setup a tracker program, in which the data elements are using options sets in certain cases. I have tried to set up a program indicator that would calculate the value for the sum of the 1, 2 or 3 of the data element options, but the result is counting all the events are