Re: [Dhis2-devs] [Dhis2-users] WebAPI for register tracker instance

2016-07-06 Thread Morten Olav Hansen
Ah yes, I was assuming you were sending for an existing tracked entity. If not, you will need to create the TEI first On Thursday, 7 July 2016, channara rin wrote: > Hi morten. > you mean, i need run two commands through web api, first, create track > entity intance,

Re: [Dhis2-devs] [Dhis2-users] WebAPI for register tracker instance

2016-07-06 Thread channara rin
Hi morten. you mean, i need run two commands through web api, first, create track entity intance, then create program stage.? On Thu, Jul 7, 2016 at 10:14 AM, Morten Olav Hansen wrote: > Hi Channara > > You can follow the guides at [1] and then just add the >

Re: [Dhis2-devs] [Dhis2-users] WebAPI for register tracker instance

2016-07-06 Thread Morten Olav Hansen
Hi Channara You can follow the guides at [1] and then just add the "trackedEntityInstance" field to it to say the TEI it will add events for, and then the "programStage" to say which stage to add data for. [1] http://dhis2.github.io/dhis2-docs/master/en/developer/html/ch01s19.html -- Morten

Re: [Dhis2-devs] [Dhis2-users] Format for date and time data entry fields

2016-07-06 Thread Morten Olav Hansen
Hi Elmarie That value type was added to support an external client we had. I agree that we should definitely support it in our our data capture apps also, but AFAIK we do not yet. I have added two blueprints, but nobody is assigned yet (not sure if it will land for 2.25).

Re: [Dhis2-devs] Question about uploading resources into DHIS2

2016-07-06 Thread Morten Olav Hansen
Hi Elmarie Just tried this, and in my case they are ending up in $DHIS2_HOME/documents, what is your home set to? are you sure the application can access that folder? -- Morten Olav Hansen Senior Engineer, DHIS 2 University of Oslo http://www.dhis2.org On Wed, Jul 6, 2016 at 11:23 PM, Elmarie

[Dhis2-devs] WebAPI for register tracker instance

2016-07-06 Thread channara rin
Hi all DHIS2, do you know how can i use webAPI for register new tracker instance with multiple event? regards, channara ___ Mailing list: https://launchpad.net/~dhis2-devs Post to : dhis2-devs@lists.launchpad.net Unsubscribe :

[Dhis2-devs] Format for date and time data entry fields

2016-07-06 Thread Elmarie Claasen
Hi all, Can anyone clarify what the format for data entry is for date and time datatype. I set up one element on SL stable demo and added it to a tracker program. I expected a picker similar to calendar but the field is blank, allowing typing of any characters or date/time format however all of

Re: [Dhis2-devs] Viewing Data Element Names when creating Indicators

2016-07-06 Thread Elmarie Claasen
Laura, I have not checked 2.22 but normally if you hold hour cursor over anh of those elements you see the full name. I do agree though being able to see more woukd be helpful. Elmarie On 05 Jul 2016 22:50, "Laura E. Lincks" wrote: > Version:2.22 > Build

Re: [Dhis2-devs] Data capturer - Events: Authorisation privilege missing

2016-07-06 Thread Juan Manuel Alcantara Acosta
Sorry I didn’t see your previous email indicating that you solved the matter and that it was indeed a sharing settings problem. Still, I hope you find the xml helpful to test a user role with the minimum authorities. Best regards, JM > El 06/07/2016, a las 3:10 p.m., Juan Manuel Alcantara

Re: [Dhis2-devs] Where can I get a copy of 2.17 war file?

2016-07-06 Thread Seid Hussein
Hi Calle, I think you can find it here. https://www.dhis2.org/download/releases/2.17/dhis.war On Jul 6, 2016 22:34, "Calle Hedberg" wrote: > Hi > > anybody know where I can download the 2.17 war file? > > regards > calle > > ***

Re: [Dhis2-devs] Data capturer - Events: Authorisation privilege missing

2016-07-06 Thread Juan Manuel Alcantara Acosta
Hi CalleSounds like you have two unrelated problems, one is the list of events not showing. Edit the configuration of the program and check if "Display front page list” is set to No, change that to Yes.Regarding sharing settings, I recommend that you check sharing for all the metadata involved in

[Dhis2-devs] Metadata templates - reg

2016-07-06 Thread Dr. Sunil Gavaskar ParthaSarathy
Hi, Could anyone share the metadata templates for csv metadata upload. The template in the dev manual is very limited. Thanks & regards Dr. Sunil Gavaskar ParthaSarathy. M.B., B.S., D.A., Medical Officer Tamil Nadu Health Systems Project Sent from my iPhone

Re: [Dhis2-devs] Data capturer - Events: Authorisation privilege missing

2016-07-06 Thread Calle Hedberg
Hi, We finally tracked it down - was caused by a missing share on the option set. Regards calle On 6 July 2016 at 18:26, Elmarie Claasen wrote: > Calle, > > > > Have you tried clearing the system cache after editing the user role? > > > > Regards, > > > > *Elmarie Claasen* >

[Dhis2-devs] Where can I get a copy of 2.17 war file?

2016-07-06 Thread Calle Hedberg
Hi anybody know where I can download the 2.17 war file? regards calle *** Calle Hedberg 46D Alma Road, 7700 Rosebank, SOUTH AFRICA Tel/fax (home): +27-21-685-6472 Cell: +27-82-853-5352 Iridium SatPhone: +8816-315-19119 Email: calle.hedb...@gmail.com

[Dhis2-devs] Option set options editor not working correctly

2016-07-06 Thread Juan Manuel Alcantara Acosta
Hi Devs I was testing today the new interface for creating option sets and options and I was not able to successfully add options to an option set, here are the steps I followed: 1. Starting from the main menu selected maintenance -> other -> Option set 2. Click on the plus sign, add a name

Re: [Dhis2-devs] Data capturer - Events: Authorisation privilege missing

2016-07-06 Thread Elmarie Claasen
Calle, Have you tried clearing the system cache after editing the user role? Regards, Elmarie Claasen Hisp logo Project Manager Health Information Systems Program Tel: 041-367 1027 Cell: 082 374 2209 E-mail: elma...@hisp.org Skype:

[Dhis2-devs] Question about uploading resources into DHIS2

2016-07-06 Thread Elmarie Claasen
Hi all, >From what I am told whatever resources you load into DHIS under Reports > Resources and whether you add them to a dashboard those are stored in a subfolder in the war file folder on the server. When the war is updated all those files are destroyed and thus you don't have those copies

Re: [Dhis2-devs] Data capturer - Events: Authorisation privilege missing

2016-07-06 Thread Adebusoye Anifalaje
Got it Calle. I just tested locally here and it works fine. Using Version:2.22Build revision:22067 *Busoye Anifalaje (PhD)* Director of Services (Principal), BAO Systems UK: +44 7901-740-757 | US: +1 682-307-0986| bus...@baosystems.com | http://www.baosystems.com | Skype: busoye | 2900 K

Re: [Dhis2-devs] Data capturer - Events: Authorisation privilege missing

2016-07-06 Thread Calle Hedberg
Busoye, YES, the program is added to the role, and its sharing is set to public view and edit (with login). We have found earlier dev threads about very similar problems, but all indications are that those were fixed in 2.21. We have tested the latest 2.22 and the latest 2.23 - no difference.

Re: [Dhis2-devs] Data capturer - Events: Authorisation privilege missing

2016-07-06 Thread Calle Hedberg
Busoye, As I said, we have tried adding EVERYTHING (every single permission) to the user role - it still does not work. The only way to make it work is by adding ALL (then it works even without any other permission set). Giving us grey hair, this problem is Regards calle On 6 July 2016 at

Re: [Dhis2-devs] Data capturer - Events: Authorisation privilege missing

2016-07-06 Thread Adebusoye Anifalaje
Okay Calle. Checked the permissions you set. Not sure but can you try adding *Add/Update Tracked Entity Instance*. Strictly speaking an event does not have an entity but each record might be conceived as an instance. Worth trying I think. If it works then you want to also add *Delete Tracked

Re: [Dhis2-devs] Data capturer - Events: Authorisation privilege missing

2016-07-06 Thread Busoye Anifalaje
Hi Calle, Have you added the event program to the role. The ALL authority is not a summation of all other permissions but a special designation that provides access to grant access to all apps and privately created objects (with the exception of dashboards). Hope that helps. Cheers, Busoye On 6

Re: [Dhis2-devs] Data capturer - Events: Authorisation privilege missing

2016-07-06 Thread Calle Hedberg
Hi Small correction: we have now ascertained that if the Data Capturer - Events have every single authorisation selected (except ALL), it does NOT work. If we on the other hand select ALL, then it works. What is the difference between ALL and the sum of all individual authorisations? regards

[Dhis2-devs] [Bug 1599062] Re: program rule doesn't work onload in tracker capture registration form

2016-07-06 Thread Markus Bekken
Fixed in latest 2.24 and trunk. Git: https://github.com/dhis2/tracker-capture-app/commit/26e2468a76a154a9cc36958fe13b7f20b3050148 ** Changed in: dhis2 Status: New => Fix Released -- You received this bug notification because you are a member of DHIS 2 developers, which is subscribed to

[Dhis2-devs] [Bug 1599483] [NEW] DHIS2.24 on windows 8 returns an error object already exists when creating a new object

2016-07-06 Thread Absolom
Public bug reported: I installed and configured DHIS 2.24 on windows 8 (x64) and it works perfectly well with postgresql-9.5.3-1-windows. My concern is that when i am creating new objects orgunit, categories, data elements, it returns an error message that object already exists when actually

[Dhis2-devs] Target Line

2016-07-06 Thread Ifeanyi Okoye
Dear Devs,Is it possible to have the target line show in the data visualizer irrespective of the layout of the chart? Right now it only shows if Data is in the category dimension but results in a single color chart as opposed to having Data in the series dimension which tells a better story

[Dhis2-devs] Data capturer - Events: Authorisation privilege missing

2016-07-06 Thread Calle Hedberg
Hi, We have an instance with an Event program and a user role called "Data Capturer - Events" with the following authorisations - but one or more is missing: Add/Update event Add/Update Tracked Entity Add/Update Tracked Entity Data Value Delete Data Value Generate Min-Max Value Run validation

Re: [Dhis2-devs] [Dhis2-users] DHIS2 SQL View - practical examples

2016-07-06 Thread Knut Staring
Very briefly, the core tables for aggregate data include datavalue, organisationunit, period, and dataelement. Tables are linked on ids, e.g. organisatoinunitid. There are also some very helpful tables starting with underscore _. Knut On Wed, Jul 6, 2016 at 12:14 PM, Halvdan Hoem Grelland

Re: [Dhis2-devs] [Dhis2-users] DHIS2 SQL View - practical examples

2016-07-06 Thread Halvdan Hoem Grelland
We do not have extensive documentation directly for the DB schema. You will have to browse the schema of an instance using a tool of your choosing (pgAdmin, psql). For metadata the source Java beans and Hibernate mappings (*.hbm.xml) might also be useful to understand the relations (especially for

[Dhis2-devs] Questionnaires automatically un-assigned

2016-07-06 Thread Raminosoa Rabemanantsoa, Tantely
Hi All, With DHIS2 2.19, something strange is happening on the questionnaire assignation. Some organization units have a status of non-assigned questionnaire after the assignation of all questionnaires to all organisation units. That was happening three times and we are wondering what may cause

Re: [Dhis2-devs] [Dhis2-users] DHIS2 SQL View - practical examples

2016-07-06 Thread channara rin
Hi all, do you have some explaination relate to table schema? when i open, it alot of table. thank you channara On Tue, Jul 5, 2016 at 8:19 PM, Raminosoa Rabemanantsoa, Tantely < tramino...@mikolo.org> wrote: > Thank you Michael. > > Regards, > > Tantely. > > On Tue, Jul 5, 2016 at 3:35 PM,