[Dhis2-users] Problem with the d2:condition function in program operator

2018-02-06 Thread Martin Van Aken
Hello, I'm trying to create a program indicator which would evaluate if a ratio is equal higher than 80 and return 1 or 0 if not the case. This is what I have in the expression: d2:condition('((#{tbLC6IHktf0.CpOPiHrFG8C} * 100) / #{tbLC6IHktf0.spWKINz7xwF}) >= 80', 100, 0) The program indicator

Re: [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-users] Dataset Custom Forms (CSS & JS)

2018-02-06 Thread Makhate Makhate
Hi Diao, Thanks for helping out. What do you mean when you say "*it maybe possible to use files*" what do you mean by files. The only trick that I could come up with is doing it like this but it doesn't quite work: /* CSS code here */ Well, doing it like this, when i hit

Re: [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-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-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-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-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-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-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-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-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-users] Dataset Custom Forms (CSS & JS)

2018-02-06 Thread Makhate Makhate
​Hello Communit​y, I am customizing the UI form of our datasets here. We need help on where to put CSS and Javascript files. Kind regards, Makhate Makhate ICAP, Lesotho ___ Mailing list: https://launchpad.net/~dhis2-users Post to :

[Dhis2-users] 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

Re: [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 >

[Dhis2-users] 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-users@lists.launchpad.net Cc: Michal Debski

Re: [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-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-users] How to track users activity in Dhis2

2018-02-06 Thread Antonia - Pro
Thanks Jason, I created this JIRA issue to solve problems exactly like this one. Hope it will be resolved into the next release as declared. It will be very useful. Best regards, Antonia *Eng. Antonia Bezenchek* CIO - ICT Engineer *InformaPRO S.r.l.* via Guido Guinizelli, 98/100, Roma 00152,

Re: [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-users] 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-users] How to track users activity in Dhis2

2018-02-06 Thread Jason Pickering
Hi Jean, If you have the possibility, using Google Analytics is an option. There are some security considerations you may need to take into account however. At the moment however, this approach is a bit limited, as many apps do not use Google Analytics due to this limitation

Re: [Dhis2-users] How to track users activity in Dhis2

2018-02-06 Thread Antonia - Pro
You can get a file (xml or json - then convert in Excel if you want) with the user's metadata using the export - there are also the last login time of all users, if this is what you want. Best Antonia 2018-02-06 11:09 GMT+01:00 Jean de Dieu Anoubissi : > Hi Bernard > I

Re: [Dhis2-users] How to track users activity in Dhis2

2018-02-06 Thread Jean de Dieu Anoubissi
Hi Bernard I cannot use sql query in our instance because I don't have access to the server. And SQL View is too limited. Best 2018-02-06 10:54 GMT+01:00 Bernard Sadaka (IM Advisor) : > Hello Jean, > > I am pretty sure you can run a query in the DB to do so, not sure the >

Re: [Dhis2-users] How to track users activity in Dhis2

2018-02-06 Thread Bernard Sadaka (IM Advisor)
Hello Jean, I am pretty sure you can run a query in the DB to do so, not sure the graphical interface has this (other than the SQL view to run the queries) @Others, please correct me if I am mistaken. All the best, Bernard Bernard Sadaka Information Management Advisor Première Urgence

[Dhis2-users] How to track users activity in Dhis2

2018-02-06 Thread Jean de Dieu Anoubissi
Hello all, Is it possible to know what users are doing in the system.? If yes what is the procedure Thank you ___ Mailing list: https://launchpad.net/~dhis2-users Post to : dhis2-users@lists.launchpad.net Unsubscribe :