Re: [Dhis2-devs] Issue with custom attributes in data set api

2016-07-27 Thread Aamer Mohammed
Also in the second test case mentioned below. - Now we marked that attribute is 'checked' in one of the data set page of maintenance app. The api is returning the attribute value as 'true' which is fine. But when the attribute is 'unchecked' in the app, the api is returning the value

[Dhis2-devs] Issue with custom attributes in data set api

2016-07-27 Thread Aamer Mohammed
Hi Morten, We have created an attribute called "isPrintable" with a value type - "Yes Only" and assigned it to data set and program. We have few clarifications on the below api * /api/dataSets.json?fields=id,name,attributeValues[:all,value,name,attribute[id,name,code]]* - Immediately after as

[Dhis2-devs] Cant update Data element attribute using PATCH Web Api command in 2.22

2016-07-27 Thread Adedapo Adejumo
Hi Devs, I am trying to update one Data element attribute (name) using a patch update command , example below "curl -X PATCH -d "{\"name\":\"New Data Element Name\"}" -H "Content-Type: application/json" -u xx:xx http://localhost:8080/api/dataElements/uidxxx/name” The command fails

Re: [Dhis2-devs] GIS Google Maps Error

2016-07-27 Thread Bjørn Sandvik
Hi Lorill, GIS questions for DHIS 2.22 and earlier are best answered by Jan, who will be back in office next week. Bjørn On Wed, Jul 27, 2016 at 6:22 PM, Lorill Crees wrote: > Hi Bjørn, > > These instances will eventually be upgraded, perhaps in the next 3-6 > months, but not immediately. > >

Re: [Dhis2-devs] GIS Google Maps Error

2016-07-27 Thread Lorill Crees
Hi Bjørn, These instances will eventually be upgraded, perhaps in the next 3-6 months, but not immediately. Do you have any ideas with how we can address this specific issue in version 2.22? Thanks, Lorill On Wed, Jul 27, 2016 at 4:03 AM, Bjørn Sandvik wrote: > Hi Lorill, > > Do you have the

Re: [Dhis2-devs] [Dhis2-users] Possible removal of mobile "light" and mobile "smartphone" in 2.25

2016-07-27 Thread Ifeanyi Okoye
Hello Morten,We are using mainly for data capture. The smartphone module is a bit more flexible than the android app. We are using android phones and have the data entry app installed on the phones. We have had instances where the users entered data for several months at a stretch using the app

Re: [Dhis2-devs] [Dhis2-users] DHIS2 - Reporting rate + count of the submitted reports.

2016-07-27 Thread Raminosoa Rabemanantsoa, Tantely
Dear Prosper, Yes, I am planning to upgrade first with the development instance of DHIS2. Regards, Tantely. On Wed, Jul 27, 2016 at 5:36 PM, Prosper BT wrote: > Dear Tantely > > You are not in position to upgrade? > > You may have to run a few SQL queries with 1.19. > > Regards > > > On Wed,

Re: [Dhis2-devs] [Dhis2-users] Tracker Capture Report Issues - Reg

2016-07-27 Thread Prosper BT
Dear Ravi Are you using events report? Make sure analytics successfully run. Regards On Wed, Jul 27, 2016, 2:14 PM Chandrasekar Ravi wrote: > Dear Team, > > We are entering the data in Tracker Capture through *web based* as well > as *mobile app.* Both application showing result data saved suc

Re: [Dhis2-devs] [Dhis2-users] DHIS2 - Reporting rate + count of the submitted reports.

2016-07-27 Thread Prosper BT
Dear Tantely You are not in position to upgrade? You may have to run a few SQL queries with 1.19. Regards On Wed, Jul 27, 2016, 1:00 PM Raminosoa Rabemanantsoa, Tantely < tramino...@mikolo.org> wrote: > Hi Prosper, > > I am using DHIS2 2.19. Yes, this display is not yet integrated in the > re

Re: [Dhis2-devs] Bugs in DHIS new importer.

2016-07-27 Thread Sergio Valenzuela
Thanks Morten. Keep me up please. Best regards! *Sergio Valenzuela* Fundación EHAS Telemedicina para países en desarrollo -* www.ehas.org * E.T.S.I. de Telecomunicación A.101-9L. Ciudad Universitaria 30, 28040 Madrid - España Tlfno. (+34) 91 488 87 41: (+34) 687 67 17 62

Re: [Dhis2-devs] Bugs in DHIS new importer.

2016-07-27 Thread Morten Olav Hansen
Hi Sergio Not sure exactly what is wrong there, but will try and reproduce and fix tomorrow. -- Morten Olav Hansen Senior Engineer, DHIS 2 University of Oslo http://www.dhis2.org On Wed, Jul 27, 2016 at 4:11 PM, Sergio Valenzuela < sergio.valenzu...@ehas.org> wrote: > Hello devs, > > I'm getti

Re: [Dhis2-devs] [Dhis2-users] Possible removal of mobile "light" and mobile "smartphone" in 2.25

2016-07-27 Thread Morten Olav Hansen
Hi Ifeanyi What version of DHIS2 are you on? are you using it mainly for data collection, or also messaging? What kind of phones are they using? have you also tried our Android clients? -- Morten Olav Hansen Senior Engineer, DHIS 2 University of Oslo http://www.dhis2.org On Wed, Jul 27, 2016 a

Re: [Dhis2-devs] [Dhis2-users] Possible removal of mobile "light" and mobile "smartphone" in 2.25

2016-07-27 Thread Ifeanyi Okoye
Dear Morten,Our program uses the Smartphone module for our outreach sites.Thanks  Warm Regards, Ifeanyi Read DrMaestro's Blog www.ifeanyiokoye.com From: Prosper BT To: Morten Olav Hansen Cc: dhis2-users ; dhis2-devs Sent: Wednesday, July 27, 2016 2:30 PM Subject: Re: [Dhis2-user

Re: [Dhis2-devs] Bugs in DHIS new importer.

2016-07-27 Thread Sergio Valenzuela
Hello devs, I'm getting the "Exception occurred while trying to import the metadata. object references an unsaved transient instance - save the transient instance before flushing: org.hisp.dhis.dataelement.DataElement (MetadataSyncTask.java [taskScheduler-9])" error when using the new exporter/imp

Re: [Dhis2-devs] Sharing DEs and other objects via the API

2016-07-27 Thread Morten Olav Hansen
Ok, the problem with the approach mentioned there is that it can only change the sharing for 1 object at a time (the sharing API). If you want to create/update a large number of objects including sharing, you will need to add the sharing to the object payload itself. Since you are on 2.22, this m

Re: [Dhis2-devs] Issues with custom attributes

2016-07-27 Thread Durga Manasa Maruboyina
Hi Mark, We created an attribute and assigned that to a dataSet.Now we can see the attribute in api as well as in maintenance app. Later while we were editing the attribute we unassigned the dataSet to that attribute.In the maintenance app we can see that the dataSet doesn't have attribute because

Re: [Dhis2-devs] [Dhis2-users] Possible removal of mobile "light" and mobile "smartphone" in 2.25

2016-07-27 Thread Prosper BT
Dear Morten, For HISP Uganda uses we have never used them at all. We are okay with them going Regards On Wed, Jul 27, 2016 at 3:03 PM, Morten Olav Hansen wrote: > Hi everyone > > We are thinking of possibly removing these 2 projects from DHIS 2 Core in > 2.25 release, but we wanted to know if

Re: [Dhis2-devs] Sharing DEs and other objects via the API

2016-07-27 Thread David Muturi
Hi Morten, This is on version 2.22, I am looking at the guide here http://dhis2.github.io/dhis2-docs/2.22/en/developer/html/dhis2_developer_manual_full.html rgds David 2016-07-27 16:12 GMT+03:00 Morten Olav Hansen : > Hi > > What version of DHIS2 are you on? > > To share objects with a N number

Re: [Dhis2-devs] [Dhis2-users] Upgrading DHIS2 from version 2.5 to 2.22

2016-07-27 Thread Jason Pickering
Hi Gerald, I upgraded a system recently from 2.10 to 2.22, and it went pretty well actually. There are some things you need to look out for along the way, particular changes in the model, like duplication in orgunit groups, unique (or non-unique codes) etc. I found it useful to turn on the Postgre

Re: [Dhis2-devs] Sharing DEs and other objects via the API

2016-07-27 Thread Morten Olav Hansen
Hi What version of DHIS2 are you on? To share objects with a N number of user they would have to be put into their own user group, then all you have to do is to add: "userGroupAccesses": [ {"userGroup": {"id": "user-group-ID"}, "access": "rw--" } ] To the objects (assuming read-write, r-

Re: [Dhis2-devs] [Dhis2-users] Upgrading DHIS2 from version 2.5 to 2.22

2016-07-27 Thread Bob Jolliffe
Gerald I assume that you are going to try this out on a test machine, not the machine on which the users are entering data. On 27 July 2016 at 13:54, gerald thomas wrote: > Thanks Knut, they are currently doing data entry till August 15. I will > start on the 16 or 17 and i will keep you informed

[Dhis2-devs] Sharing DEs and other objects via the API

2016-07-27 Thread David Muturi
Hi Dhis2 Team, I am trying to share a large number of data elements among st numerous user groups and it would be easier to bootstrap this via a script through the API, I am looking through the documentation and cannot find proper Payload syntax of sharing DES to multiple users. Any one who has don

Re: [Dhis2-devs] [Dhis2-users] Upgrading DHIS2 from version 2.5 to 2.22

2016-07-27 Thread gerald thomas
Thanks Knut, they are currently doing data entry till August 15. I will start on the 16 or 17 and i will keep you informed. On Jul 27, 2016 12:49 PM, "Knut Staring" wrote: > I suggest you try with 2.16 and let us know how it goes. If problematic, > then try a few versions earlier. > Knut > > On

Re: [Dhis2-devs] [Dhis2-users] Upgrading DHIS2 from version 2.5 to 2.22

2016-07-27 Thread Knut Staring
I suggest you try with 2.16 and let us know how it goes. If problematic, then try a few versions earlier. Knut On 27 Jul 2016 19:12, "gerald thomas" wrote: > Dear Knut, > Noted!!! > I noticed that upgrade procedures' starts from version 2.16 and the oldest > war file available is 2.7; which mean

Re: [Dhis2-devs] [Dhis2-users] Upgrading DHIS2 from version 2.5 to 2.22

2016-07-27 Thread gerald thomas
Dear Knut, Noted!!! I noticed that upgrade procedures' starts from version 2.16 and the oldest war file available is 2.7; which means I will have to work blindly till 2.16 by the grace of God. HISP India, please can you help because I heard you had done something like this before. On Jul 27, 2016

Re: [Dhis2-devs] [Dhis2-users] Upgrading DHIS2 from version 2.5 to 2.22

2016-07-27 Thread Knut Staring
Try with everything first. If it doesn't work, start with building blocks such as categories and orgunits, depending on the types of problems you encounter. Unfortunately, I doubt anyone has a complete recipe for how to do this, some experimentation and ad hoc fixes may be required. If you get it

Re: [Dhis2-devs] [Dhis2-users] Upgrading DHIS2 from version 2.5 to 2.22

2016-07-27 Thread Knut Staring
Gi Gerald, Please do not take my suggestion as a fully formed and fool-proof procedure. But since you are exporting and then importing into an empty instance of a newer version, you will not be messing up your existing data (but should still take a backup first). Piecewise going through every ver

[Dhis2-devs] Possible removal of mobile "light" and mobile "smartphone" in 2.25

2016-07-27 Thread Morten Olav Hansen
Hi everyone We are thinking of possibly removing these 2 projects from DHIS 2 Core in 2.25 release, but we wanted to know if anyone is still using them? They haven't been updated in a very long time (4-5 releases at least) and is not updated to work with any of the latest model changes. -- Mort

[Dhis2-devs] Formatting Numbers Data Entry Forms

2016-07-27 Thread Ifeanyi Okoye
Dear All, DHIS v 2.22 Is there a way to do some extra formatting with numbers on the form designer to include stuff like comma separator? Thank you. Warm Regards, Ifeanyi Read DrMaestro's Blog www.ifeanyiokoye.com ___ Mailing list: https://launchpad.n

Re: [Dhis2-devs] Program indicators in Event reports

2016-07-27 Thread Sergio Valenzuela
Sorry, I meant "Event Reports or Event Visualizer" *Sergio Valenzuela* Fundación EHAS Telemedicina para países en desarrollo -* www.ehas.org * E.T.S.I. de Telecomunicación A.101-9L. Ciudad Universitaria 30, 28040 Madrid - España Tlfno. (+34) 91 488 87 41: (+34) 687 67 17 62

Re: [Dhis2-devs] Program indicators in Event reports

2016-07-27 Thread Sergio Valenzuela
Hello devs, Program indicators still not working. I've tried Child Programme's programe indicators ("Average weight", "BCG doses", ...) on /dev and /demo but they seem to do nothing on Event Reports or Event Capture. Is it a bug? Please confirm it and I will fill the bug report. Best regards!

Re: [Dhis2-devs] GIS Google Maps Error

2016-07-27 Thread Bjørn Sandvik
Hi Lorill, Do you have the chance to upgrade to a new version of DHIS 2? There is a lot of GIS improvements in DHIS 2.23 and 2.24. Bjørn -- Bjørn Sandvik GIS developer, DHIS 2 University of Oslo www.dhis2.org On Tue, Jul 26, 2016 at 10:15 PM, Lorill Crees wrote: > Hi, > > When attempting

Re: [Dhis2-devs] [Dhis2-users] DHIS2 - Reporting rate + count of the submitted reports.

2016-07-27 Thread Raminosoa Rabemanantsoa, Tantely
Hi Prosper, I am using DHIS2 2.19. Yes, this display is not yet integrated in the reporting rate from pivot table but they are already in the Reporting Rate Summary of the "Reports" module. So may be my question is falling in a limitation of the version DHIS2 2.19. Thank you for your answer. Reg

Re: [Dhis2-devs] [Dhis2-users] NGINX ERROR-HELP

2016-07-27 Thread Morten Olav Hansen
Hi Stanley Not sure where you saw this, but I'm guessing it was in pivot table? or data visualizer tools. Probably the total URI (URL) exceeded the maximum length allowed for nginx, you could try and play around with [1] but I'm not 100% sure it will help, as browsers themselves have limit also (y

[Dhis2-devs] NGINX ERROR-HELP

2016-07-27 Thread Stanley Kalyati
DHISiers, What does this error mean? Thank you 414 Request-URI Too Large -- nginx ___ Mailing list: https://launchpad.net/~dhis2-devs Post to : dhis2-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~dhis2-de

Re: [Dhis2-devs] [Dhis2-users] NGINX ERROR-HELP

2016-07-27 Thread gerald thomas
Stanley, it means cap header size. You can increase it nginx.conf file normally located at /etc/nginx/nginx.conf On 7/27/16, Stanley Kalyati wrote: > DHISiers, > > What does this error mean? > > Thank you > > 414 Request-URI Too Large > -- > nginx > -- Regards, Ge

Re: [Dhis2-devs] [Dhis2-users] NGINX ERROR-HELP

2016-07-27 Thread Alex Tumwesigye
Dear Stanley, Please increase or add your client_max_body_size 10M; parameter in nginx.conf, I recently had to increase mine to 20M to upload of apps to work. This error was the same. Alex On Wed, Jul 27, 2016 at 12:58 PM, Stanley Kalyati wrote: > DHISiers, > > What does this error mean? > >

Re: [Dhis2-devs] [Dhis2-users] DHIS2 - Reporting rate + count of the submitted reports.

2016-07-27 Thread Prosper BT
Hi Raminosoa, Which version are you using, It a new feature in 2.24 - pivot tables, see below [image: Inline image 1] Regards On Wed, Jul 27, 2016 at 10:32 AM, Raminosoa Rabemanantsoa, Tantely < tramino...@mikolo.org> wrote: > Dear All, > > Does someone have some suggestions on having the numb

Re: [Dhis2-devs] Issues with custom attributes

2016-07-27 Thread Durga Manasa Maruboyina
Hi Mark, We have created an attribute called "isPrintable" with a value type - "Yes Only" and assigned it to data set and program. In the maintenance app, when we look at the data set,the attribute is shown as a 'check box'. But in the older Data Sets app the attribute is not shown.And in the prog

Re: [Dhis2-devs] [Dhis2-users] Upgrading DHIS2 from version 2.5 to 2.22

2016-07-27 Thread gerald thomas
Knut, That is a very big jump and if it works, it will make my day. As per your procedure, I should deploy the 2.16 war file on the newly installed DHIS2 with empty database "hmis" and do metadata export of everything from the old system which is running on 2.5 war file and finally import to the ne

[Dhis2-devs] DHIS2 - Reporting rate + count of the submitted reports.

2016-07-27 Thread Raminosoa Rabemanantsoa, Tantely
Dear All, Does someone have some suggestions on having the number of submitted report as output in addition to the rate value itself? I am using the pivot table reporting rates and the option "count" and "sum" all give only the reporting rate value. Thank you for your advice. Tantely. -- *This

Re: [Dhis2-devs] Tracker Relationship API

2016-07-27 Thread David Muturi
Hi Morten, Many thanks for this. I will add it to my json payload.Hope this will be added to the online documentation too. rgds David On 27 Jul 2016 10:12, "Morten Olav Hansen" wrote: > Hi > > Yes, you can add this to your create or update TEI payload: > "relationships": [ > { "trackedEntityIns

Re: [Dhis2-devs] Tracker Relationship API

2016-07-27 Thread Morten Olav Hansen
Hi Yes, you can add this to your create or update TEI payload: "relationships": [ { "trackedEntityInstanceA": "UID of TEI A", "trackedEntityInstanceB": "UID of TEI B" } ] -- Morten Olav Hansen Senior Engineer, DHIS 2 University of Oslo http://www.dhis2.org On Tue, Jul 26, 2016 at 9:13 PM, Dav