[Dhis2-devs] Fwd: user access to create program indicators

2016-09-29 Thread Dipali Sahu
Hi,, any hints will be helpful :) -- Forwarded message -- From: Dipali Sahu Date: Wed, Sep 28, 2016 at 2:48 PM Subject: user access to create program indicators To: DHIS 2 Users list Hi Is there a user access right to allow users to create/edit Program indicators. I have arou

[Dhis2-devs] Additional Reporting Requirement (Bi-monthly and Bi-weekly)

2016-09-29 Thread Sadik Ngoa
Hi Devs, Some of our projects require us to be able to collect and analyze data bi-weekly and bi-monthly From the current *Version: 2.22 * *Build revision:22092* We have been forced to select the "weekly" option for the bi-weekly dataset and montly for the bi-monthly data sets. The problem wit

Re: [Dhis2-devs] Fwd: user access to create program indicators

2016-09-29 Thread Elmarie Claasen
Diphali, I have not tried it but if you give the relevant program permissions and share the one program and all the dependencies like Attributes, Data elements, optionsets etc with a group that user belongs to to "view and edit" the user shohmd only be able to create program indicaors for that pro

[Dhis2-devs] Exposing Program indicators in dataset

2016-09-29 Thread Prosper BT
Dear Team, Just like aggregate query builder used to work, mapping queries to data elements, what about having program indicators available when creating a dataset. I have seen use cases trying to assign program indicators to aggregate indicators so they can use then in datasets for both display

Re: [Dhis2-devs] Program translations are not working in 2.24

2016-09-29 Thread Anilkumar Kodi
Hi all, Any Update on this? On Tue, Sep 27, 2016 at 4:42 PM, Anilkumar Kodi wrote: > To add to the same, We could see the translations in 'translation' table, > but we're guessing it should be available in objecttranslation table and > there should have mapping in programtranslation or program

Re: [Dhis2-devs] Empty page when access the "Maintenance apps"

2016-09-29 Thread gérard Bisama
Chrome version: Version 53.0.2785.92 (64-bit) 2016-09-29 12:12 GMT+00:00 Knut Staring : > Version of Chrome? > > On 29 Sep 2016 1:45 p.m., "gérard Bisama" wrote: > >> Hi All, >> >> I can not access to the Maintenance page after building DHIS2 form the >> launchpad source code. I have seen a bug

Re: [Dhis2-devs] Empty page when access the "Maintenance apps"

2016-09-29 Thread Knut Staring
Version of Chrome? On 29 Sep 2016 1:45 p.m., "gérard Bisama" wrote: > Hi All, > > I can not access to the Maintenance page after building DHIS2 form the > launchpad source code. I have seen a bug reporting concerning this issue. > Has it been solved if so how to fix it. > > Thank you > > -- > G

Re: [Dhis2-devs] CORS: accessing HTTP from HTTPS

2016-09-29 Thread Greg Rowles
Hi Jason I'm not clued up on server configurations but I tried swapping http to https - it's unsupported. I was hoping there's an easy ajax header setting i need to add. As per your suggestion - i'll ask the guys to enable https for that server... Kind Regards, Greg On Thu, Sep 29, 2016 at 1:3

[Dhis2-devs] Empty page when access the "Maintenance apps"

2016-09-29 Thread gérard Bisama
Hi All, I can not access to the Maintenance page after building DHIS2 form the launchpad source code. I have seen a bug reporting concerning this issue. Has it been solved if so how to fix it. Thank you -- Gérard Bisama Tel:+243810890810 ___ Mailing

Re: [Dhis2-devs] Connect DHIS2 development module with Postgres

2016-09-29 Thread gérard Bisama
Hi All, just want to say that I have solved the problem by creating the config file in the current user session instead of the dhis user. It seems to be related to the user privileges to have access to the /home/dhis/config/dhis.conf. Thank you 2016-09-23 12:52 GMT+00:00 gérard Bisama : > Hi All

Re: [Dhis2-devs] CORS: accessing HTTP from HTTPS

2016-09-29 Thread Jason Pickering
Maybe http://my-dhis2-analytics-call.json/?etc needs to be https://my-dhis2-analytics-call.json/?etc ? On Thu, Sep 29, 2016 at 1:09 PM, Greg Rowles wrote: > Hi Devs > > Sorry, I'm running into all kinds of issues with CORS today: > > Mixed Content: The page at 'https://my-source-page.html' was l

Re: [Dhis2-devs] Upgrading DHIS2 from 2.21 to 2.24 and using new exporter/importer

2016-09-29 Thread Aamer Mohammed
Hi, For continuation of testing, we changed the metadata to ensure that a Group can be part of only one GroupSet. 1) We got the below issue. {"status":"ERROR","stats":{"total":1,"created":0,"updated":0,"deleted":0,"ignored":1},"typeReports":[{"klass":"org.hisp.dhis.indicator.Indicator","stats":{"t

[Dhis2-devs] CORS: accessing HTTP from HTTPS

2016-09-29 Thread Greg Rowles
Hi Devs Sorry, I'm running into all kinds of issues with CORS today: Mixed Content: The page at 'https://my-source-page.html' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint ' http://my-dhis2-analytics-call.json?etc'. This request has been blocked; the content must be ser

Re: [Dhis2-devs] [Dhis2-users] UID generation

2016-09-29 Thread Morten Olav Hansen
A third alternative is to just get it from DHIS2 itself, https://play.dhis2.org/dev/api/system/id.json?limit=1000 https://play.dhis2.org/dev/api/system/id.xml?limit=1000 https://play.dhis2.org/dev/api/system/id.csv?limit=1000 -- Morten Olav Hansen Senior Engineer, DHIS 2 University of Oslo http:

Re: [Dhis2-devs] [Dhis2-users] UID generation

2016-09-29 Thread Arun Paul
Thanks Lars, Jason for the quick response ! That solution worked for me. ​Regards , - Arun Paul On Thu, Sep 29, 2016 at 2:55 PM, Jason Pickering < jason.p.picker...@gmail.com> wrote: > If you are using Postgres to inject the data directly, you can use this > > https://github.com/dhis2/dhis2-util

Re: [Dhis2-devs] Mutiple items in CORS whitelist (v2.24)

2016-09-29 Thread Greg Rowles
face palm...! Tx On Thu, Sep 29, 2016 at 11:38 AM, Jan Henrik Øverland wrote: > Hi Greg, > > Put each location on a new line. > > Jan > > On 29 September 2016 at 10:50, Greg Rowles wrote: > >> Hi Devs >> >> I'm testing API calls to a server from two different source locations >> (dev & staging

Re: [Dhis2-devs] Mutiple items in CORS whitelist (v2.24)

2016-09-29 Thread Morten Olav Hansen
Hi Greg I think you just need to click enter.. it will give you a new line, and then enter the next URL... -- Morten Olav Hansen Senior Engineer, DHIS 2 University of Oslo http://www.dhis2.org On Thu, Sep 29, 2016 at 3:50 PM, Greg Rowles wrote: > Hi Devs > > I'm testing API calls to a server

Re: [Dhis2-devs] [Dhis2-users] UID generation

2016-09-29 Thread Jason Pickering
If you are using Postgres to inject the data directly, you can use this https://github.com/dhis2/dhis2-utils/blob/master/resources/sql/uid.sql Regards, Jason On Thu, Sep 29, 2016 at 11:23 AM, Lars Helge Øverland wrote: > In fact, generateCode(); will do. > > Lars > > > On Thu, Sep 29, 2016 at

[Dhis2-devs] GIS Plugin Issue with Legend Set!

2016-09-29 Thread Sourabh Bhardwaj
Hi all, I am using the GIS Plugin to generate Maps. Maps are generating fine but there is one issue coming up with the legend set. On top of the legend set Indicator id is coming instead of the name. Following is the screenshot for same: [image: Inline image 2] I have tried with predefined legend

Re: [Dhis2-devs] [Dhis2-users] UID generation

2016-09-29 Thread Lars Helge Øverland
In fact, generateCode(); will do. Lars On Thu, Sep 29, 2016 at 11:23 AM, Lars Helge Øverland wrote: > Hi Arun, > > if you are using the DHIS 2 Java service layers there is no need to > manually generate and set UIDs. They will be automatically set before the > object is saved. > > To generate

Re: [Dhis2-devs] [Dhis2-users] UID generation

2016-09-29 Thread Lars Helge Øverland
Hi Arun, if you are using the DHIS 2 Java service layers there is no need to manually generate and set UIDs. They will be automatically set before the object is saved. To generate UIDs you should use this class: org.hisp.dhis.commonCodeGenerator -> generateCode( 11 ); Javadoc: http://ci.dhis2.o

[Dhis2-devs] UID generation

2016-09-29 Thread Arun Paul
Hello everyone, I am trying to import legacy data into a new DHIS2 installation using custom code. While adding new entries into a database table, I need to assign new UID values. What is the algorithm I should use to generated these IDs ? I tried using a postgresql extension called uuid-ossp and

[Dhis2-devs] Mutiple items in CORS whitelist (v2.24)

2016-09-29 Thread Greg Rowles
Hi Devs I'm testing API calls to a server from two different source locations (dev & staging instances) but i'm unable to load the correct values (under Access settings > CORS whitelist) for these calls to work from both locations. What are the limitations for CORS whitelist items? I've tried usi

[Dhis2-devs] How to define data element with multiple input type ?

2016-09-29 Thread Brajesh Murari
Hello Devs, I have a data element "Child Care Institutions (CCIs) that have submitted quarterly report" with three different input type 1. Boolean ( Yes/No ) 2. Number 3. Percentage How should i define above data element that i can use it for capturing data for above all the three different inpu