Re: [Dhis2-devs] ouwt Tree

2016-06-03 Thread Mark Polak
Hey Alex, Please have a look at [1]. When you clone the repository and run `npm install` followed by `npm start` the examples page should run. For the org unit tree examples it expects your local dhis2 instance to be located at `localhost:8080/dhis`. But you can change this by putting a

Re: [Dhis2-devs] ouwt Tree

2016-06-03 Thread Alex Tumwesigye
Dear Morten, Thanks for giving us a pointer to the d2-ui library. I have been facing the same challenge while doing the scorecard application. idsr custom apps. Thanks. Alex On Fri, Jun 3, 2016 at 6:50 AM, Morten Olav Hansen wrote: > Hi Eric > > Have you had a look at our

Re: [Dhis2-devs] ouwt Tree

2016-06-02 Thread Morten Olav Hansen
Hi Eric Have you had a look at our d2-ui library? the ouwt widget is kinda flaky, and should probably not be used in new applications if you don't have to.. We have a new tree widget from 2.23 I believe it is, Mark can fill you in on the details -- Morten Olav Hansen Senior Engineer, DHIS 2

[Dhis2-devs] ouwt Tree

2016-06-02 Thread eric mourin
Hi devs, I've been working to have the orgUnit tree working on a custom app, but I've seen that on the first line of code that the dhis2 base URL is defined as: var dhis2BaseUrl = ".."; Could this be changed to var dhis2BaseUrl = dhis2.settings.baseUrl; ? Right now I have to change the code of