Re: [Dhis2-devs] [Dhis2-users] API for Patch dataSet and dataelement

2018-04-27 Thread Jean Habib
HI Ocaya for your reply. But I got this error { "httpStatus": "Conflict", "httpStatusCode": 409, "status": "ERROR", "message": "Only identifiable object collections can be removed from." } What can be issue ? 2018-04-27 20:23 GMT+00:00 Stephen Ocaya : >

[Dhis2-devs] API for Patch dataSet and dataelement

2018-04-27 Thread Jean Habib
Hi all, Please there is a way to add dataeelement to dataset by API, like partial update ? Best ___ Mailing list: https://launchpad.net/~dhis2-devs Post to : dhis2-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~dhis2-devs More help :

Re: [Dhis2-devs] Importing Organisation Units with groups

2018-04-27 Thread Olaleke Seweje
Thanks Calle, for helping. On Fri, Apr 27, 2018 at 4:15 PM, Calle Hedberg wrote: > Knut, > > Seems our emails crossed - and are correct. The sequence is group then > orgunit, not orgunit then group. > > It's noteworthy that swapping them around just fails silently - no

Re: [Dhis2-devs] Importing Organisation Units with groups

2018-04-27 Thread Olaleke Seweje
Thanks Knut, this works for me too. Much appreciated. On Fri, Apr 27, 2018 at 3:17 PM, Knut Staring wrote: > Hello Leke, > > I just did it now and my guess was right. As usual, the first row will be > ignored, so you should have something like this (assigning 3 orgunits to >

Re: [Dhis2-devs] Importing Organisation Units with groups

2018-04-27 Thread Calle Hedberg
Knut, Seems our emails crossed - and are correct. The sequence is group then orgunit, not orgunit then group. It's noteworthy that swapping them around just fails silently - no error message in the option summary, not ignored, and the tomcat log messages are more or less identical. There's

Re: [Dhis2-devs] Importing Organisation Units with groups

2018-04-27 Thread Calle Hedberg
Hi Re last point - I've just tested importing the simple Organsiationunit_uid, orgunitgroup_uid format, and that does NOT work - system seems to just disregard it (0 created, 0 updated, 0 ignored). I also went back and checked the 2.28 release notes - they just point to the same 1.16 chapter in

Re: [Dhis2-devs] Importing Organisation Units with groups

2018-04-27 Thread Calle Hedberg
Hi Firstly, the support for importing group members (orgunits, data elements, indicators) in CSV format was introduced in 2.28 BUT as Knut points out, the related part of the developer manuals (1.16, CSV Meta data import) remains the same as it was in 2.27 and earlier. Secondly, adding or

Re: [Dhis2-devs] Importing Organisation Units with groups

2018-04-27 Thread Knut Staring
Hello Leke, I just did it now and my guess was right. As usual, the first row will be ignored, so you should have something like this (assigning 3 orgunits to the same group): Group,OU VlEZ3JbCBEp,kw32DaDxwk9 VlEZ3JbCBEp,xEuwGp9HvZg VlEZ3JbCBEp,VvvUrFGaoL3 (It appears you will have to use UIDs

Re: [Dhis2-devs] Importing Organisation Units with groups

2018-04-27 Thread Knut Staring
Hi again, You are right, sorry. It seems the manual is deficient on this point. My assumption is that the CSV format would be just: GroupUID, OrgUnitUID (or possibly the reverse order). Unless anyone else knows better, perhaps you could give it a try with just one group and a couple of orgunits?

Re: [Dhis2-devs] Error in analytics table generation

2018-04-27 Thread Sakibou Alassani
Hi Jason, It was solved. Just download last build. You can take look at jira issue created for that here https://jira.dhis2.org/browse/DHIS2-2788 Le ven. 27 avr. 2018 à 13:33, Jason Pickering a écrit : > Yeah, it seems to be the exact same problem. > > Olav Poppe

Re: [Dhis2-devs] Importing Organisation Units with groups

2018-04-27 Thread Olaleke Seweje
Thanks Knut, I have been to this link before too but it does not show how to connect the org units with groups. For example, an org unit ABC Hospital in org unit D. I have so many org units and linking them manually to groups will take a lot of effort and time. I hope you can give me more info

Re: [Dhis2-devs] Error in analytics table generation

2018-04-27 Thread Jason Pickering
Yeah, it seems to be the exact same problem. Olav Poppe did you manage to resolve this? If so, how? Regards, Jason On Fri, Apr 27, 2018 at 11:40 AM, David Huser wrote: > Hi Jason, > > Some of the expressions were simply empty (perhaps the cause for >

Re: [Dhis2-devs] DHIS2 Dashboard Apps

2018-04-27 Thread Martin Van Aken
Thanks for your answer - any way to specify where the "explore" link should lead: this would allow my app to show a small part as an iFrame, then be called in full screen on click (like the Pivot tables & chart works in the Dashboard right now) Martin On Fri, Apr 27, 2018 at 10:47 AM, Edoardo

Re: [Dhis2-devs] Importing Organisation Units with groups

2018-04-27 Thread Knut Staring
Hi Leke, You can find the format here: https://docs.dhis2.org/2.26/en/developer/html/webapi_csv_metadata_import.html#webapi_csv_other_objects On Fri, Apr 27, 2018 at 12:58 PM, Olaleke Seweje wrote: > Hi all, > I am trying to import hundreds of org units with their

Re: [Dhis2-devs] DHIS2 Dashboard Apps

2018-04-27 Thread Knut Staring
On the topic of filtering - do the maps in the dashboard now also obey the orgunit filter? The ability to drill down the whole dashboard (rather than just each widget in isolation) is quite powerful. On Fri, Apr 27, 2018 at 1:27 PM, Olav Poppe wrote: > Hi, jumping in on this

Re: [Dhis2-devs] DHIS2 Dashboard Apps

2018-04-27 Thread Olav Poppe
Hi, jumping in on this conversation with two related questions: 1) is there any (documented) way for a dashboard widget to identify "instances" of itself? So that if you add two or more instances of the same widget and want to set them up to show different things (e.g. different indicators), it

[Dhis2-devs] Importing Organisation Units with groups

2018-04-27 Thread Olaleke Seweje
Hi all, I am trying to import hundreds of org units with their groups. Is there a CSV config sheet format that can be used for this? Maybe I'd need to use 'Organisation unit with group option' on the CSV import page but I need the format of the config sheet. If so, can someone please share the

Re: [Dhis2-devs] Error in analytics table generation

2018-04-27 Thread David Huser
Hi Jason, Some of the expressions were simply empty (perhaps the cause for NullPointerExceptions). The exact problem for those that are *not* empty is still to be determined (lots of validation rules to check). Here was a similar thread from December:

Re: [Dhis2-devs] Error in analytics table generation

2018-04-27 Thread Jason Pickering
Hi David, Could you give a bit more detail as to what invalid means and how you identified that they were invalid? Regards, Jason On Fri, Apr 27, 2018 at 10:32 AM, David Huser wrote: > Hi Jason, > > Had to look into this recently as well - after fixing validation rules

Re: [Dhis2-devs] DHIS2 Dashboard Apps

2018-04-27 Thread Edoardo Sabadelli
Not exactly, the content in the iframe is usable from within the box in the dashboard. There isn't a way of going full screen at the moment, but it can be easily added. On Thu, Apr 26, 2018 at 5:21 PM, Martin Van Aken wrote: > OK, so it will render the "main" page (as

Re: [Dhis2-devs] Error in analytics table generation

2018-04-27 Thread David Huser
Hi Jason, Had to look into this recently as well - after fixing validation rules with invalid expressions this error went away. Those violations did not show up in Integrity Check however. David On Fri, Apr 27, 2018 at 10:04 AM, Jason Pickering < jason.p.picker...@gmail.com> wrote: > A little

Re: [Dhis2-devs] Error in analytics table generation

2018-04-27 Thread Jason Pickering
A little more detail here. This actually occurs during this phase of analytics which was not clear from the previous message. 2018-04-27 09:17:13 Process failed: null 2018-04-27 09:17:13 Applying aggregation levels 2018-04-27 09:17:13 Populating analytics tables 2018-04-27 09:17:13 Creating

[Dhis2-devs] Error in analytics table generation

2018-04-27 Thread Jason Pickering
Not exactly sure what is causing this, but this is occurring just at the end of the analytics tables process. Here is what we see from the GUI: 2018-04-27 08:00:17 Process failed: null 2018-04-27 08:00:17 Applying aggregation levels 2018-04-27 08:00:17 Populating analytics tables And the error