Re: [Dhis2-devs] API - event coordinates not getting saved

2017-06-12 Thread Pierre Dane
You need to set the program stage 'Capture coordinates'. Also be aware that you can only set coordinates with the post, they will not update via the API. Pierre [image: image.png] On Mon, Jun 12, 2017 at 4:40 PM Markus Bekken wrote: > Dear Harsh, > can you reproduce in

Re: [Dhis2-devs] API - event coordinates not getting saved

2017-06-12 Thread Markus Bekken
Dear Harsh, can you reproduce in play? Trying to reproduce through the event capture app, the only difference I see between the two payloads is the number of decimals in the coordinate captured. The apps uses only 6 decimals: "coordinate":{"latitude":9.394871,"longitude":-11.487579} Markus >

[Dhis2-devs] API - event coordinates not getting saved

2017-06-12 Thread Harsh Atal
Hi I am making events through API which include coordinates. But when posting the event everything gets saved except coordinates. URL : http://localhost:8090/dhis/api/events/ Pay Load : { "coordinate": {"latitude": 13.1707428419558, "longitude": 79.6169626173919}, "event": "O02d839dd7c",

Re: [Dhis2-devs] [Dhis2-users] HELP NEEDED: DHIS2 design issue

2017-06-12 Thread Knut Staring
Thanks for the request Georgi, How to set up and maintain such complex access schemes is still exceedingly tricky, and I think guidance and probably improved user interfaces to handle this is one of the key areas that needs strengthening. There should probably be a task force set up around it -

Re: [Dhis2-devs] Positive or Zero Integer Value type does not save zero vlaues

2017-06-12 Thread Immaculate Ayebazibwe
Thanks Neeraj, What if its Tracker Attributes? Thank you and Kind Regards *Immarcqulate. A (Emma Kassy) * *"You miss 100% of the shots you don't take."* On Mon, Jun 12, 2017 at 1:20 PM, Neeraj Gupta wrote: > Hi Emma, > > There is an attribute called 'Store Zero data

Re: [Dhis2-devs] Positive or Zero Integer Value type does not save zero vlaues

2017-06-12 Thread Neeraj Gupta
Hi Emma, There is an attribute called 'Store Zero data values' for data elements, you need to select 'Yes', in order to save 0 as value. regrads, Neeraj On Mon, Jun 12, 2017 at 3:42 PM, Immaculate Ayebazibwe wrote: > Hi, > I have an instance running on 2.25 where the value

[Dhis2-devs] Positive or Zero Integer Value type does not save zero vlaues

2017-06-12 Thread Immaculate Ayebazibwe
Hi, I have an instance running on 2.25 where the value is 0 is as important as any other. So for a DE of tracker type I assigned the value type Positive or Zero integer so that 0 can be entered. However whenever I enter 0 the system gives an error and does not save. I went further and tested this

[Dhis2-devs] Yes/No fields no populating version 2.26

2017-06-12 Thread Pooben Dass
Hi Devs We got a custom HTML in version 2.20 that populates values(in the drop down list) captured on the form but upon upgrading the db we find that the fields have changed to radio buttons and are not populating the values captured. Is there something that we've missed in the upgrade process or