Re: [Dhis2-devs] Web api authorization not working

2018-02-07 Thread Lars Helge Øverland
Hi Terence, have a look at the CORS concept: https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS You can whitelist the URL/domain of your app from Apps > Settings > Access > CORS whitelist. regards, Lars On 8 February 2018 at 09:15, Morten Olav Hansen wrote: > Did you

Re: [Dhis2-devs] Web api authorization not working

2018-02-07 Thread Morten Olav Hansen
Did you whitelist your domain in CORS settings? -- Morten Olav Hansen Senior Engineer, DHIS 2 University of Oslo http://www.dhis2.org On Thu, Feb 8, 2018 at 2:37 AM, Knut Staring wrote: > Forwarding to the dev list. > > On Feb 7, 2018 8:31 PM, "Terence Kaite"

Re: [Dhis2-devs] [Dhis2-users] Dataset Custom Forms (CSS & JS)

2018-02-07 Thread Timothy Harding
Hello Makhate, Couple things! So first of all, *if* the CSS is for the custom form and the custom form only, putting them in the source tab like you described *should* work, but it can be finicky, as DHIS 2 does alter the HTML as it is being displayed. Best figure out what works in the chrome

[Dhis2-devs] Issue with deprecated android-apt on tracker-capture

2018-02-07 Thread Elisabeth Meyers
Dear DHIS2 developer team, When loading in dhis2-android-sdk on branch tracker-capture as a submodule, we get the following message: "To take advantage of all the latest features (such as Instant Run), > improvements and security fixes, we strongly recommend that you update the > Android Gradle

Re: [Dhis2-devs] Web api authorization not working

2018-02-07 Thread Knut Staring
Forwarding to the dev list. On Feb 7, 2018 8:31 PM, "Terence Kaite" wrote: > Hello there, > > I've been trying to build an external web app that should be making use of > dhis 2 data through the its' web api endpoints. But when I try to access > dhis web apis - even

[Dhis2-devs] DAYS OR MONTHS BETWEEN ENROLLMENT AND AN EVENT

2018-02-07 Thread Stanley Kalyati
Hi All, Anyone that can help with how i can create a program indicator to filter all clients that have enrolled into a program before december 31,2017 and accessed a particular service and also clients that enrolled into a program after december 31,2017 and accessed a service? Anything i can use

Re: [Dhis2-devs] [Dhis2-users] Using program rule expressions in Program indicator expressions

2018-02-07 Thread Bernard Sadaka (IM Advisor)
Hello Markus, Thank you for the list and explanation; is there any expected timeline for that? (JIRA issue, I can track?) With regards to the number of decimals, even if set to zero at the program indicator and after running the analytics, the “pivot table” still shows the digits.

Re: [Dhis2-devs] [Dhis2-users] Using program rule expressions in Program indicator expressions

2018-02-07 Thread Markus Bekken
Hi there Bernard, We aim to support more and hopefully all the program rule functions in program indicators. Unfortunately we are not there yet, and the list of supported functions in program indicators can be found here: 19.4.5. Reference information: Functions, variables and operators to use