Re: [Dhis2-users] [Dhis2-devs] Linking Power BI and DHIS2

2018-03-22 Thread Michael Mwebaze
i Michael, > Do you have guide for option 2: connect through web API? > how can i find dhis1 api token key? > > On Thu, Sep 14, 2017 at 11:05 PM, Michael Mwebaze < > michael.mweb...@gmail.com> wrote: > >> Hi Stanley, >> >> you basically have two options fo

Re: [Dhis2-users] Data elements assignation

2018-01-27 Thread Michael Mwebaze
Hi Diao, Are you able to use the web api? The section in the developer's manual 'Metadata create, read, update, delete, validate' should be helpful. Regards, Michael On 27 January 2018 at 15:30, Mamadou Diao Diallo wrote: > Hi dhis2 devs, > I have to assign many data

Re: [Dhis2-users] Using DHIS2 API

2017-09-21 Thread Michael Mwebaze
Hi Diallo, from the developer's guide it doesn't look like dataelement group is a supported query parameter for dataValues end point. See link below https://docs.dhis2.org/2.23/en/developer/html/ch01s15.html You should however have more success with the analytics end point see link below

Re: [Dhis2-users] Linking Power BI and DHIS2

2017-09-14 Thread Michael Mwebaze
Hi Stanley, you basically have two options for this. 1. download data from dhis2 as csv and upload it to PowerBI (you will have to create a dataset for that on PowerBI) 2. make use of DHIS2 web api to pull data and push it to powerbi via its web api as well. To achieve this a number

Re: [Dhis2-users] Timeout when updating large organisation unit group in large instance (2.23)

2017-08-28 Thread Michael Mwebaze
Hi Martin, do you have access to the Tomcat logs? If an exception is being thrown that would also be helpful to figure out what is happening. Regards, Michael On 28 August 2017 at 10:04, Martin Van Aken wrote: > Hi DHIS2 users & developers, > We have a relatively

Re: [Dhis2-users] DHIS2 to DHIS2 integration cases

2017-08-22 Thread Michael Mwebaze
Hi Martin, what I have done in the past to achieve this is to build a 3rd party utility say in Python and sync any number of dhis2 instances through their web apis. I then went on to create cron jobs which run the utility periodically. The major assumption I made was that the changes only

[Dhis2-users] mapLegendSet API end-point

2016-11-08 Thread Michael Mwebaze
Hi, is there a mapLegendSets end-point? I can't seem to find it as part of api/resources I am trying to embed a map and getting http://localhost:8181/dhis/api/mapLegendSets.jsonp?viewClass=detailed=false=false=Ext.data.JsonP.callback3&_dc=1478624326625 Failed to load resource: the server

Re: [Dhis2-users] API: dataSets.dataElements

2016-11-03 Thread Michael Mwebaze
Thanks Uwe, I have been trying to figure this out as well. On 3 November 2016 at 04:04, Uwe Wahser wrote: > just found the answer myself: it has to be > https://play.dhis2.org/demo/api/dataSets/N4fIX1HL3TQ.json? > paging=false=dataSetElements[dataElement[id,code,name]] > >

Re: [Dhis2-users] [Dhis2-devs] Link to download Dhis 2.22 rev 22060

2016-10-19 Thread Michael Mwebaze
Hi Matthieu, Try the link below: http://ci.dhis2.org/job/dhis2-2.22/ Regards, Michael On 19 October 2016 at 11:04, Matthieu Pinard wrote: > Hi Guy, > > any particular reason fo you to ask for this specific rev rather than the > latest one of 222? > > Cheers, > Matthieu >

Re: [Dhis2-users] [Dhis2-devs] dhis version 2.25 is released

2016-10-19 Thread Michael Mwebaze
Hi Brajesh, You can get the code on Github, https://github.com/dhis2/dhis2-core/ You can also get the latest builds and other information from http://ci.dhis2.org/job/dhis2-2.25/ Regards, Michael On 19 October 2016 at 01:05, Brajesh Murari wrote: > Hello Devs, >

Re: [Dhis2-users] Error in DHIS2

2016-08-23 Thread Michael Mwebaze
Hi Ravi, do you have the environment variable DHIS2_HOME pointing to the directory containing either hibernate.properties or dhis.conf configuration files? Below is a link to a sample configuration file and you can just limit to the section 'Database connection for PostgreSQL'

Re: [Dhis2-users] Step by step process of building dependencies and making them available in a local maven repo

2016-08-08 Thread Michael Mwebaze
Hi Collins, the maven repository: http://maven.dhis2.org/ isn't available. Is there a particular reason why you want to build version 2.12 and not a later version? Regards, Michael On 8 August 2016 at 06:36, Collins McAdoyo wrote: > Dear Team, > > I get the error

Re: [Dhis2-users] [Dhis2-devs] DHIS2 based App http.post and put (403 error)

2016-08-07 Thread Michael Mwebaze
tore api you need to POST to /api/dataStore// > If you could share a piece of the code where you do the request, perhaps i > can give you some more detailed feedback. :) > > > On Sun, Aug 7, 2016 at 11:18 AM, Michael Mwebaze < > michael.mweb...@gmail.com> wrote: > >>

[Dhis2-users] DHIS2 based App http.post and put (403 error)

2016-08-07 Thread Michael Mwebaze
Hi, I am developing a DHIS2 based app using AngularJS. The $http.get is successful but I am getting 403 (Forbidden) with the POST and PUT when I try to add a new item to the dataStore. Am I supposed to include Authorization: Basic base64encode(username:password) in the header as well? Is there an

[Dhis2-users] Embedding chart in portal is blank chart

2016-07-28 Thread Michael Mwebaze
Hi, I am trying to include a chart externally onto a web portal but with partial success. A blank chart appears but not the bars and whovering over the blank chart, I can see the different values. I am not have any issues with the pivot. Has anyone come across this problem before? I am using

Re: [Dhis2-users] Embedding chart in portal is blank chart

2016-07-28 Thread Michael Mwebaze
Hi Knut, No I don't have any errors in the Chrome web console. Regards, Michael On 29 July 2016 at 00:24, Knut Staring <knu...@gmail.com> wrote: > Any errors in your Chrome web console? > > Knut > > On Fri, Jul 29, 2016 at 10:48 AM, Michael Mwebaze < > micha

Re: [Dhis2-users] Problem upgrading from 2.20 to 2.21

2016-07-22 Thread Michael Mwebaze
Hi Bob, Can you update the dataelement table on postgres by running an update query and setting the aggregationtype to 'SUM' where it is 'sum'? UPDATE dataelement set aggregationtype = 'SUM' where aggregationtype = 'sum'; Regards, Michael On 22 July 2016 at 09:09, Bob Jolliffe

Re: [Dhis2-users] Use DHIS2 in other Sectors

2016-07-15 Thread Michael Mwebaze
Hi Andrew, DHIS2 has indeed been used in other sectors. Jhpiego, PSI, IPPF, IRC, WHO have all implemented DHIS2 in one way or another. The last DHIS2 Symposium in February this year, various presenters showcased their implementations of DHIS2 which weren't limited to the health field. I am also

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

2016-07-05 Thread Michael Mwebaze
Hi Tantely, Standard ANSI SQL can be executed easily with-in Sqlviews sub-module in DHIS2. The link below should be helpful. http://dhis2.github.io/dhis2-docs/2.22/en/user/html/ch22s06.html Regards, Michael On 5 July 2016 at 04:45, Raminosoa Rabemanantsoa, Tantely < tramino...@mikolo.org>

Re: [Dhis2-users] [Dhis2-devs] Android SMS Gateway App - Can use for large scale??

2016-06-28 Thread Michael Mwebaze
HI Harsh, for such a large implementation you are better off using an SMS gateway such as Kannel or Jasmin. The android sms gateway is for test purposes. On 28 June 2016 at 08:31, Jerome Shaguy wrote: > Hi Harsh, > What is the size of the dataset you plan to deploy? We

Re: [Dhis2-users] Data Not Showing Up in Reports and Pivot Tables

2016-06-21 Thread Michael Mwebaze
Hello Ifeanyi, 1. Are you able to generate resource tables without any errors? 2. Do you have any values/names for the various Orgunit levels? If yes try to rename them and save them just to be certain they are saved in the database. 3. generate resource and analytic tables again

Re: [Dhis2-users] Use of dataStore

2016-06-20 Thread Michael Mwebaze
un 2016, at 12:25, David Siang Fong Oh <d...@thoughtworks.com> > wrote: > > Hi all, > > Is there any documentation about specifying a namespace in the manifest > file? I've tried searching the DHIS2 developer manual and the W3C manifest > documentation but can't find anything.

Re: [Dhis2-users] Use of dataStore

2016-06-20 Thread Michael Mwebaze
some data to it. The way the > dataStore is designed, a namespace only exists when one or more keys are > present in it. > > > Hope this help, and let me know if you need any more help with the > dataStore. > > > > On 20 June 2016 at 06:47, Michael Mwebaze <mic

[Dhis2-users] Use of dataStore

2016-06-19 Thread Michael Mwebaze
Hi All, I am trying to make use of the dataStore resource for my custom app but can't seem to add namespace to it. In the manifest file, I have set activities.dhis.namespace property and in the tomcat logs I do see that the namespace and its value is being read. However

Re: [Dhis2-users] IT provider in Kampala needed

2015-07-01 Thread Michael Mwebaze
Hi Marta, Try SPIDD AFRICA LTD Contact person: Michael Gensi email: michael.ge...@spiddafrica.com He should be able to help Regards, Michael On 1 July 2015 at 11:48, Marta Vila martav...@gmail.com wrote: Dearall, in MSF Spain we are organizing a training in Kampala in October and we need

Re: [Dhis2-users] Problem reading data values with the web api

2015-05-15 Thread Michael Mwebaze
Hi Uhuru, I generally tend to use Postman - REST Client a chrome extension for testing the web services. You can try it too. Regards, Michael On 15 May 2015 at 04:22, Bob Jolliffe bobjolli...@gmail.com wrote: That xml looks perfectly well formed. Just that there are no datavalues to be

Re: [Dhis2-users] Chart comparing two time intervals

2015-04-23 Thread Michael Mwebaze
Hi all, a work around for this could be to create the graphs separately, save them as favorites and add and resize them to your dashboard. Regards, Michael On 23 April 2015 at 10:41, Olav Poppe olav.po...@me.com wrote: +1 for this - also useful for data quality-related reports. 23. apr.

Re: [Dhis2-users] Please help me for a blank run-able DHIS2 database

2015-04-22 Thread Michael Mwebaze
Hi Liem, if you deployed the war into tomcat, you might also want to increase the memory allocation to your tomcat. This will help significantly. Also if possible, start Tomcat from the command line so you are able to see if any exceptions are being thrown so you can troubleshoot. I hope this

Re: [Dhis2-users] Please help me for a blank run-able DHIS2 database

2015-04-22 Thread Michael Mwebaze
Thank you a lot Liem On Wed, Apr 22, 2015 at 4:18 PM, Michael Mwebaze michael.mweb...@gmail.com wrote: Hi Liem, How much RAM does your system have? My laptop has 4GB of RAM and I am able to run the DHIS2 (with Sierra Leone DB) without any problem with the following settings: JAVA_OPTS

Re: [Dhis2-users] Please help me for a blank run-able DHIS2 database

2015-04-22 Thread Michael Mwebaze
% CPU I will try to start manually to see what happened Thank you a lot Liem On Wed, Apr 22, 2015 at 3:09 PM, Michael Mwebaze michael.mweb...@gmail.com wrote: Hi Liem, if you deployed the war into tomcat, you might also want to increase the memory allocation to your tomcat

Re: [Dhis2-users] Turn off data aggregation

2015-04-14 Thread Michael Mwebaze
Tel: 212 304 7132 On Wed, Apr 1, 2015 at 5:20 AM, Michael Mwebaze michael.mweb...@gmail.com wrote: Hi, I have been trying to configure DHIS2.18 to use aggregation levels but they seem not to work. I don't want the system to aggregate the data element values at each org unit. Setting