Re: [Dhis2-users] [Dhis2-devs] Web API : Get Indicator Value

2015-09-20 Thread Julhas Sujan
Hi Pamod, Please check the following link as for indicators data: ../api/indicators.json?dataSet=XT5UDcXpXst=201506=ddTZZY0GhLW For value format as an array: $resultData1= Array ( 'resultData' => Array ( 'headers' => Array ( '0' =>

[Dhis2-users] Web API : Get Indicator Value

2015-09-20 Thread Pamod Amarakoon
Dear All, 1. what is the format to get a value of an aggregated indicator of a particular data set using web - API. Is it stored in database or calculated in real time 2. is the relative period available for Previous Day (yesterday). Thank you -- Regards, Pamod Amarakoon Confidentiality

Re: [Dhis2-users] [Dhis2-devs] Web API : Get Indicator Value

2015-09-20 Thread Pamod Amarakoon
Dear Julhas, Thank you for the reply. I'll try this. On Sun, Sep 20, 2015 at 2:57 PM, Julhas Sujan wrote: > Hi Pamod, > > Please check the following link as for indicators data: > > ../api/indicators.json?dataSet=XT5UDcXpXst=201506=ddTZZY0GhLW > > For value format as

Re: [Dhis2-users] [Dhis2-devs] getting maven build errors

2015-09-20 Thread Knut Staring
You could try to just skp the tests: mvn clean install -DskipTests=true as it says in the instructions: https://www.dhis2.org/development Knut On Sunday, September 20, 2015, haider iqbal wrote: > Hi, > > I have downloaded the source code but i am getting build errors

[Dhis2-users] [Dhis2] getting maven build errors

2015-09-20 Thread haider iqbal
Hi, I have downloaded the source code but i am getting build errors when i run the command " mvn install " on terminal in dhis-2 directory. I have attached the build log file. Kindly help me solve the issue. Regards, Haider Iqba [INFO] Scanning for projects... [INFO]

Re: [Dhis2-users] Program rule does not seem to be working

2015-09-20 Thread Pramil Liyanage
Dear Ese, Try with single quotations 'Female' and clear the cache and try. If not working, get the latest build and try. I also had a similar issue with an older build, but when I replaced with the latest, worked fine. Regards Pramil On Mon, Sep 21, 2015 at 8:00 AM, Ese Egerega

Re: [Dhis2-users] Program rule does not seem to be working

2015-09-20 Thread Ese Egerega
Thanks so much Pramil. I will try that now. -Ese On Mon, Sep 21, 2015 at 3:45 AM, Pramil Liyanage wrote: > Dear Ese, > > Try with single quotations 'Female' and clear the cache and try. > If not working, get the latest build and try. I also had a similar issue > with an

Re: [Dhis2-users] [Dhis2-devs] getting maven build errors

2015-09-20 Thread haider iqbal
Thank you for your support. I build the code by skipping tests and it was successfully built. Hiader Iqbal On Sep 21, 2015 7:52 AM, "Morten Olav Hansen" wrote: > Hi > > The test failures are due to you current local timezone (Asia/Karachi). > Sorry, but as Knut says.. please

[Dhis2-users] Program rule does not seem to be working

2015-09-20 Thread Ese Egerega
Dear all, The Program Rule feature does not seem to be working for me. I am trying to hide a section in the tracker based on if the Gender selected during program registration is Female. To achieve this, I created a program rule that should hide the section but nothing seem to happen in Tracker

Re: [Dhis2-users] [Dhis2-devs] getting maven build errors

2015-09-20 Thread Morten Olav Hansen
Hi The test failures are due to you current local timezone (Asia/Karachi). Sorry, but as Knut says.. please use -DskipTests=true for now.. you might also have issues running DHIS 2, some timezones have been known to be incompatible.. we fix it when we see it, but for now.. maybe you could adjust