[Dhis2-devs] Multiple calendars on same instance

2016-11-17 Thread Craig Hollingsworth
Hi,

Hope you're well.

Just wondered if there are any plans to enable localised calendars on the same 
global instance?

Many thanks

Craig


___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] Bug in Pivot app

2016-09-21 Thread Craig Hollingsworth
Hi,

Think I've found a bug in pivot app.   We have a category that we are using as 
a dimension.  The category options have different permissions based on user 
groups. In the pivot app, in the dimension, the list of category options is 
filtered correctly according to the permissions.  However, if I [select al] 
then the system does not take account of the permissions in the resulting output

Can you please advise if this is expected behaviour or a bug?  I suspect the 
latter.

Have seen in v2.22  build  21976   also in  v223 build b437bc2.  Also present 
in current stable 224 online demo.


To recreate:

Login craigTest1 /  password craigTest1

Dimension craigtest

Should see just one option - craigtest1

If select all and update resulting output has craigtest1 and 
craigtest2(private).



Cheers

Craig


___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] Using API to get translated collections

2016-04-28 Thread Craig Hollingsworth
Hi,

Hope all are well.

I'm trying to get translations of some things through the API.  Items and 
associated collections.In the example below, the api returns translated 
dataElement displayName but not translations of the associated collections 
(dataElementGroup displayName):

api/dataElements.json?fields=:id,displayName,dataElementGroups[id,displayName]=es


Wondering if this is a limitation with the API or an issue with the format of 
the request?The developer manuals don't offer any examples on translations.

Cheers

Craig

___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Dataset level attributes under smartphone and Android Data Capture app

2016-04-19 Thread Craig Hollingsworth
Hi Jason,

Hope you’re well.

We have been trying the smart phone app and android data capture.  From what I 
can see neither of these options allow us to enter dataset level attributes 
(cat combos).  Just tested the mobile light and seems that’s also the same.
The PDF form download/import also does not allow for attributes.

Going to be a challenge as means we have no low bandwidth option available to 
us for aggregate reporting.  Not sure what others have done to get around this? 
I suppose not use dataset level attributes.

Araz mentioned yesterday in response that this is on the roadmap but with no 
fixed version yet.


Look forward to seeing the feature as will be very valuable for us in many 
contexts.

Cheers

Craig


From: Jason Pickering [mailto:jason.p.picker...@gmail.com]
Sent: 19 April 2016 03:59
To: Craig Hollingsworth
Cc: dhis2-devs@lists.launchpad.net
Subject: Re: [Dhis2-devs] Dataset level attributes under smartphone and Android 
Data Capture app

Hi Craig,
Do you mean for the Smartphone or "Light" apps for aggregate data entry?

Regards,
Jason


On Mon, Apr 18, 2016 at 8:51 PM, Craig Hollingsworth 
<craig.hollingswo...@nrc.no<mailto:craig.hollingswo...@nrc.no>> wrote:
Hi,

Hope you’re well.

Hi, I wondered if there are any plans to implement dataset level attributes for 
aggregate reporting in any of the mobile options.  It seems at present this is 
not possible which somewhat limits their use for us.

I had a quick look through the launchpad blueprints but can’t seem to find 
anything on the subject.


Cheers

Craig

------
Craig Hollingsworth
Global M Data Pilots Project Manager
Tel: +57 320 208 4921  / +44 (0) 7570 138 
151<tel:%2B44%20%280%29%207570%20138%20151>
Skype:  Craig.Hollingsworth

[NRC Logo spanish]

--


___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : 
dhis2-devs@lists.launchpad.net<mailto:dhis2-devs@lists.launchpad.net>
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp



--
Jason P. Pickering
email: jason.p.picker...@gmail.com<mailto:jason.p.picker...@gmail.com>
tel:+46764147049
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] Dataset level attributes under smartphone and Android Data Capture app

2016-04-18 Thread Craig Hollingsworth
Hi,

Hope you're well.

Hi, I wondered if there are any plans to implement dataset level attributes for 
aggregate reporting in any of the mobile options.  It seems at present this is 
not possible which somewhat limits their use for us.

I had a quick look through the launchpad blueprints but can't seem to find 
anything on the subject.


Cheers

Craig

--
Craig Hollingsworth
Global M Data Pilots Project Manager
Tel: +57 320 208 4921  / +44 (0) 7570 138 151
Skype:  Craig.Hollingsworth

[NRC Logo spanish]

--

___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] Think found a Bug with replicate user under v2.22 / 2.23

2016-04-13 Thread Craig Hollingsworth
Hi

I’m trying to replicate a user (on v2.22,  21976).  Also just recreated on the 
Amazon snapshot (2.23,  22718).

Select a user
Select replicate

Enter name/password for new user  (lionelmessi / Training123)
click replicate

Gives am Internal server error 500, unexpected token <


Cheers

Craig





___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] quick question re tracker capture

2016-02-08 Thread Craig Hollingsworth
Hi,

There is an option at program level to indicate whether future 
enrolment/incident dates are allowed, however in my case I am creating an 
attribute of type date and the widget does then not allow future dates.

The use case is that we are exploring use of tracker to manage some 
contracts(donor grants) and therefore the attributes in question would be grant 
start/end dates.

Not sure if the lack of future dates on date attributes is expected behaviour 
or not.   Or I’m missing something  and the future date setting is elsewhere.


Cheers

Craig


From: Knut Staring [mailto:knu...@gmail.com]
Sent: 05 February 2016 18:00
To: Craig Hollingsworth
Cc: DHIS 2 developers
Subject: Re: [Dhis2-devs] quick question re tracker capture


You have to allow it I think
On Feb 5, 2016 9:32 PM, "Craig Hollingsworth" 
<craig.hollingswo...@nrc.no<mailto:craig.hollingswo...@nrc.no>> wrote:
Hi,

Hope all are well and ready for the weekend!

I’ve created an attribute of type date for use in tracker (v2.22).  This 
appears to be unable to accept future dates.  Is this expected behaviour?


Cheers

Craig, NRC


___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : 
dhis2-devs@lists.launchpad.net<mailto:dhis2-devs@lists.launchpad.net>
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] Poss bug in Event Tracker??

2016-02-05 Thread Craig Hollingsworth
Hi,

Think I might have found a bug in v2.22 Event Reports.  Replicates on the play 
AWS demo (snapshot).

Child Programme, Birth

If I run a report with data elements then works fine.  If I include an 
attribute then get no data back (I'm using gender).

No errors sent to console.


Cheers

Craig
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] quick question re tracker capture

2016-02-05 Thread Craig Hollingsworth
Hi,

Hope all are well and ready for the weekend!

I've created an attribute of type date for use in tracker (v2.22).  This 
appears to be unable to accept future dates.  Is this expected behaviour?


Cheers

Craig, NRC

___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Problem / bug? with updating existing data element value in aggregate data entry under version 2.22

2016-01-29 Thread Craig Hollingsworth
Hi Morten,

Hope you're well.

Thanks for the response.  greatly appreciated.

we rebooted the server but I think the script is not dropping the old column, 
instead it's creating a separate one for 'created' and hence the error.

thanks again for your help!

Cheers

Craig

From: Morten Olav Hansen [morte...@gmail.com]
Sent: 29 January 2016 22:02
To: Craig Hollingsworth
Cc: dhis2-devs
Subject: Re: [Dhis2-devs] Problem / bug? with updating existing data element 
value in aggregate data entry under version 2.22

Hi again

On second thought, I see you are talking about aggregate data.. this table has 
existed for a while, what we did in 2.22 was to rename it from timestamp to 
created.

Are you saying it is named timestamp even on a fresh new database?

For existing databases you should be able to just do:
alter table datavalueaudit rename column timestamp to created

(that said, this is already done during startup.. but maybe you have both 
created and timestamp column.. which could create issues)

--
Morten

On Sat, Jan 30, 2016 at 9:42 AM, Morten Olav Hansen 
<morte...@gmail.com<mailto:morte...@gmail.com>> wrote:
Hi Craig

Probably you were trying 2.22 out during development phase? That column existed 
for a few days before it was renamed.

Simply removing the timestamp column should work


On Saturday, 30 January 2016, Craig Hollingsworth 
<craig.hollingswo...@nrc.no<mailto:craig.hollingswo...@nrc.no>> wrote:
Hi,

Hope all are well.

Today I started to enter some historic data into our new shiny dhis2 system and 
think I may have broken it already!

When I enter aggregate data elements into the system it uploads ok and the cell 
turns green.If I then try to update the same cell the system throws an 
internal server error.

The Dhis2 log gives the following error:

WARN  2016-01-29 17:08:54,788 SQL Error: 0, SQLState: 23502 
(SqlExceptionHelper.java [http-apr-8081-exec-8])
* ERROR 2016-01-29 17:08:54,789 ERROR: null value in column "timestamp" 
violates not-null constraint
  Detail: Failing row contains (7639, 5830, 5218, 7428, 15, 7072, 1, null, 
admin, DELETE, 2016-01-29 17:08:54.78). (SqlExceptionHelper.java 
[http-apr-8081-exec-8])


We’ve not been able to recreate the bug on the dhis2play version.   We’ve 
checked the postgres db and all  the relevant fields appear to be there so we 
do not think it is related to the previous upgrade process to v2.22.   From 
what we gather the error is thrown when trying to update the audit table due to 
lack of a timestamp.

We tried against a range of data elements and appears not to be related to any 
specific one / or specific category combo.
Have tried setting up a new ‘clean’ dataset with just one dataelement.
Have tried auto and custom data entry forms
Am logging in as sys admin.
Dhis2 v 2.22 ,
build 21782 from 26th January.
Hosted with BAO.


Would appreciate if anyone could advise/support and check whether this is a bug 
or not.  Can give access to the system if required.

Many thanks

Craig


------
Craig Hollingsworth
Global M Data Pilots Project Manager
Tel: +57 320 208 4921  / +44 (0) 7570 138 
151<tel:%2B44%20%280%29%207570%20138%20151>
Skype:  Craig.Hollingsworth

[NRC Logo spanish]

--



--
--
Morten


___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] Problem / bug? with updating existing data element value in aggregate data entry under version 2.22

2016-01-29 Thread Craig Hollingsworth
Hi,

Hope all are well.

Today I started to enter some historic data into our new shiny dhis2 system and 
think I may have broken it already!

When I enter aggregate data elements into the system it uploads ok and the cell 
turns green.If I then try to update the same cell the system throws an 
internal server error.

The Dhis2 log gives the following error:

WARN  2016-01-29 17:08:54,788 SQL Error: 0, SQLState: 23502 
(SqlExceptionHelper.java [http-apr-8081-exec-8])
* ERROR 2016-01-29 17:08:54,789 ERROR: null value in column "timestamp" 
violates not-null constraint
  Detail: Failing row contains (7639, 5830, 5218, 7428, 15, 7072, 1, null, 
admin, DELETE, 2016-01-29 17:08:54.78). (SqlExceptionHelper.java 
[http-apr-8081-exec-8])


We've not been able to recreate the bug on the dhis2play version.   We've 
checked the postgres db and all  the relevant fields appear to be there so we 
do not think it is related to the previous upgrade process to v2.22.   From 
what we gather the error is thrown when trying to update the audit table due to 
lack of a timestamp.

We tried against a range of data elements and appears not to be related to any 
specific one / or specific category combo.
Have tried setting up a new 'clean' dataset with just one dataelement.
Have tried auto and custom data entry forms
Am logging in as sys admin.
Dhis2 v 2.22 ,
build 21782 from 26th January.
Hosted with BAO.


Would appreciate if anyone could advise/support and check whether this is a bug 
or not.  Can give access to the system if required.

Many thanks

Craig


------
Craig Hollingsworth
Global M Data Pilots Project Manager
Tel: +57 320 208 4921  / +44 (0) 7570 138 151
Skype:  Craig.Hollingsworth

[NRC Logo spanish]

--

___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] Persistence of Search Parameters in new metadata app

2016-01-27 Thread Craig Hollingsworth
Hi,

I have a quick question on the behaviour of the new metadata app.

When searching and editing a data element, upon save the previously filtered 
search parameters and data element list is reset.   Just want to know if this 
is planned behaviour or a bug.  Think was different in previous versions.

It means that if editing a list of data elements from a filtered list one has 
to repeatedly run the search and filter.

Cheers

Craig, NRC

___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Dealing with Updated/Expired data elements/indicators

2015-11-16 Thread Craig Hollingsworth
Hi,

Hope all are well.

I can envisage a situation where a given indicator/data element is changed in 
some way (perhaps a changed calculation or definition). For historical 
reporting purposes we would want to keep the old version of the indicator/data 
element but would prefer that it is not apparent for standard users that are 
building new datasets.

Does anyone have any experience of this that they could share - how they went 
about dealing with it?

Have thought about a group for active/inactive items or perhaps changing the 
name to indicate it is inactive, but not sure what would be the best approach.

Would be good to hear your experiences.


Cheers

Craig


___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] Category Option Combination Craziness

2015-10-21 Thread Craig Hollingsworth
Hi,

Good work on the new release.  Looks cool!


I'm exploring different config options for a possible system for NRC.   I'm 
looking at datasets with 4 attributes (project code, team, implementing partner 
and target/actual.

The potential number for each option is (200 new per year, 9, 10, 2).That's 
a spectacular amount of combinations - especially after a few years of use.

Can Dhis2 cope?   Any advice would be greatly appreciated.

I recognise that I could cut some options back and go for a slightly different 
config, but the above would be the preferred/easiest option for us.


Cheers


Craig


___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] FW: Request for quotations for app development

2015-10-10 Thread Craig Hollingsworth
Hi,


The Norwegian Refugee Council is currently evaluating Dhis2 as a global M 
tool and, as part of this process, we are seeking quotations from developers 
for a number of apps to extend the functionality of Dhsi2 and/or amend the GUI 
to better suit our business processes.

Developers who are available and able to provide a prompt estimate are invited 
to contact me on this mail for further details of the requirements.


Many kind regards,

Craig Hollingsworth
Project Manager, NRC


 Skype: Craig.Hollingsworth
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp