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

2018-02-06 Thread Jason Pickering
Did you have a look at our developer documentation on the use of custom CSS/JS? https://docs.dhis2.org/master/en/developer/html/webapi_ui_customization.html This should also work for inline JS in the form. On Wed, Feb 7, 2018 at 6:38 AM, Makhate Makhate

Re: [Dhis2-devs] [Dhis2-users] FW: Access Tracker capture program stage data through API

2018-02-06 Thread Abyot Asalefew Gizaw
May be complaining about program stage? --- Thank you, Abyot. (sent from mobile) On Feb 6, 2018 17:21, "Knut Staring" wrote: > Hi Abyot, > > I am probably just stupid, but why is it complaining about a different > program (ur1Edk5Oe2n) than the one requested in the URL

Re: [Dhis2-devs] [Dhis2-users] FW: Access Tracker capture program stage data through API

2018-02-06 Thread Knut Staring
Hi Abyot, I am probably just stupid, but why is it complaining about a different program (ur1Edk5Oe2n) than the one requested in the URL (eBAyeGv0exc) ? And even after sharing both programs with the administrator group which admin is a member of, I still get the same? Knut On Tue, Feb 6, 2018

Re: [Dhis2-devs] [Dhis2-users] FW: Access Tracker capture program stage data through API

2018-02-06 Thread Abyot Asalefew Gizaw
That is because if the new sharing setting. You need to go and configure data read and write sharing settings... The same url should work in 2.28 and lower versions. On Tue, Feb 6, 2018, 16:55 Georgi Chakarov wrote: > Yes, and I am trying to get all data for all

Re: [Dhis2-devs] [Dhis2-users] FW: Access Tracker capture program stage data through API

2018-02-06 Thread Knut Staring
I see. I am actually seeing a restriction when trying the example at the bottom of the page in the manual: https://docs.dhis2.org/master/en/developer/html/webapi_events.html#webapi_querying_reading_events

Re: [Dhis2-devs] [Dhis2-users] FW: Access Tracker capture program stage data through API

2018-02-06 Thread Georgi Chakarov
Yes, and I am trying to get all data for all tracked entity instances, not for a specific one. Any idea? From: Knut Staring [mailto:knu...@gmail.com] Sent: Tuesday, February 6, 2018 5:43 PM To: Georgi Chakarov Cc: DHIS 2 Developers list

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

2018-02-06 Thread Mamadou Diao Diallo
Hi Makhate, It maybe possible to use files but I used to paste Javascript code in the Source window at the custom form editor, following this link https://docs.dhis2.org/master/en/user/html/database_design.html#d0e36608 see the section *30.5.3.1.2. Custom Forms.* Best *Diao* 30.5.3.1.2. Custom

Re: [Dhis2-devs] [Dhis2-users] FW: Access Tracker capture program stage data through API

2018-02-06 Thread Abyot Asalefew Gizaw
Hi, We have some guide on how to read events through api. See the documentation here. https://docs.dhis2.org/master/en/developer/html/dhis2_developer_manual_full.html#webapi_querying_reading_events and an example

Re: [Dhis2-devs] [Dhis2-users] FW: Access Tracker capture program stage data through API

2018-02-06 Thread Georgi Chakarov
Hi Knut, I am using a super user account and we don’t have data shared among users. Maybe the problem is related to the fact that Tracker data does not get exported in any format from the Import/Export app either. Aggregate data does, but tracker or event data does not. Georgi From: Knut

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

2018-02-06 Thread Bernard Sadaka (IM Advisor)
I found a similar issue on JIRA (https://jira.dhis2.org/browse/DHIS2-2734) But still doesn’t explain why I can’t use different expressions in program indicators :( All the best, Bernard Bernard Sadaka Information Management Advisor Première Urgence - Aide Médicale Internationale

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

2018-02-06 Thread Bernard Sadaka (IM Advisor)
Can anyone tell me why I can’t use program rule expressions in Program indicator expressions? Functions like ceil, floor, round and others are very useful. Also I tried to use the “Decimals in data output” in the program indicator details, it didn’t work. Also I tried to simulate the round

[Dhis2-devs] Access Tracker capture program stage data through API

2018-02-06 Thread Georgi Chakarov
Hi all, Can anyone tell me what is the query to read all data entered in a Tracker capture program stage? We have tried this: /api/26/events.json?orgUnit=DiszpKrYNg8=eBAyeGv0exc and other versions like /api/26/events.json?orgUnit=YuQRtpLP10I=CHILDREN but we get the result below. Your feedback

Re: [Dhis2-devs] [Dhis2-users] Program indicators export to another system

2018-02-06 Thread Aaron C White
Elmarie, The devs might correct me, but I don't think that the code import scheme would account for different data element ids since the import tool would be trying to match a code for the programIndicator itself and not the configured expression or filter. I ran into this problem last year and

[Dhis2-devs] FW: Access Tracker capture program stage data through API

2018-02-06 Thread Georgi Chakarov
Hi all, Any thoughts on the below question? Your input is highly needed and appreciated! Regards, Georgi From: Georgi Chakarov Sent: Monday, February 5, 2018 6:20 PM To: 'DHIS 2 Developers list' ; dhis2-us...@lists.launchpad.net Cc: Michal Debski

Re: [Dhis2-devs] [Dhis2-users] FW: Access Tracker capture program stage data through API

2018-02-06 Thread Knut Staring
Just a thought - is the user you are using for the API member of the user group for which this data has been shared? Knut On Tue, Feb 6, 2018 at 2:38 PM, Georgi Chakarov wrote: > Hi all, > > > > Any thoughts on the below question? Your input is highly needed and >

Re: [Dhis2-devs] [Dhis2-users] DATA ELEMENTS NOT SHOWING DATA IN PIVOT TABLES

2018-02-06 Thread Stanley Kalyati
Hi Gerald, I have run analytics,i have also gone to data admin and also cleared catch but no results. Only when i add a category combination to the data set,that is when i am able to see data when i run pivot or data visualizer. I cant understand On Tue, Feb 6, 2018 at 1:40 PM, gerald thomas

Re: [Dhis2-devs] [Dhis2-users] DATA ELEMENTS NOT SHOWING DATA IN PIVOT TABLES

2018-02-06 Thread gerald thomas
Stanley, It simply means your data is based on those category combinations that is why you are seeing them. Please share a print screen of that data set whose data elements you pivoting for now. On Tue, Feb 6, 2018 at 12:33 PM, Stanley Kalyati wrote: > Hi Gerald, > > I have

Re: [Dhis2-devs] [Dhis2-users] DATA ELEMENTS NOT SHOWING DATA IN PIVOT TABLES

2018-02-06 Thread gerald thomas
Stanley, Please run analytics and check your pivot tables again. On Tue, Feb 6, 2018 at 11:11 AM, Stanley Kalyati wrote: > Hi All, > > I posted something similar sometime two weeks ago. > > I have data elements whose value type is number and aggregation type is > Sum.I

[Dhis2-devs] DATA ELEMENTS NOT SHOWING DATA IN PIVOT TABLES

2018-02-06 Thread Stanley Kalyati
Hi All, I posted something similar sometime two weeks ago. I have data elements whose value type is number and aggregation type is Sum.I created a data set and assigned it to the Organisation unit. I captured data and run analytics.When i run the pivot tables,no data values. However,when i add

Re: [Dhis2-devs] modifying the UID of default

2018-02-06 Thread Jason Pickering
In later versions of DHIS2, the default dimension is "hard-coded". You can see the details here

Re: [Dhis2-devs] modifying the UID of default

2018-02-06 Thread Knut Staring
Thanks Calle and Ramon, This is also now part of the process we are doing as a collaboration between WHO and UiO. So far, we have mainly worked on HIV, TB, malaria and Immunization, but the plan is to bring in all the health programs. Regards, Knut On Tue, Feb 6, 2018 at 10:29 AM, Calle Hedberg

Re: [Dhis2-devs] modifying the UID of default

2018-02-06 Thread Calle Hedberg
Hi, South Africa is using a National Data Dictionary (DHIS2-based) to "control" most meta-data, which means we have standardised uids and codes for - orgunits - data elements - indicators - validation rules - categories/options/combos etc. Makes life a lot easier when you have many separate

[Dhis2-devs] modifying the UID of default

2018-02-06 Thread Ramón José Jiménez Pomareta
Hello, We are thinking about harmonize all *defaults *of our 5 DHIS2 platforms (Particularly, to set to each *default *element the same ID throughout all the databases (4 different IDs in total, no only 1 of course), and to change the UIDs references in all the DB). Do you think that can be