Re: [Dhis2-devs] Query around OAuth implicit grant

2018-09-10 Thread Lorill Crees
ans to support DHIS2 being a OAuth2 client (you might > be able to do this in your own apps using a OAuth2 JS library maybe..) > > -- > Morten Olav Hansen > Senior Engineer, DHIS 2 > Team Integration Lead > University of Oslo > http://www.dhis2.org > > > On Fri,

Re: [Dhis2-devs] Query around OAuth implicit grant

2018-09-06 Thread Lorill Crees
g >> for implicit grant OAuth. Are there any plans to implement this in near >> future. >> >> Thanks, >> Rajeswari & Gaurav. >> > > ___ > Mailing list: https://launchpad.net/~dhis2-devs > Post to : dhis2-devs@lists.la

Re: [Dhis2-devs] GIS App Does Not Load and Just Hangs

2017-06-27 Thread Lorill Crees
Thanks! On Tue, Jun 27, 2017 at 11:54 AM, Bjørn Sandvik wrote: > Yes, I'll port the fix to all later versions of the GIS app within a few > days. > > Bjørn > > On Tue, Jun 27, 2017 at 8:49 PM, Lorill Crees wrote: > >> Hi Bjørn, >> >> Thanks very

Re: [Dhis2-devs] GIS App Does Not Load and Just Hangs

2017-06-27 Thread Lorill Crees
S App 2.24, it should display "Loading: GIS app > v24.0.5" in the browser console when you start it. > > Could you please check if it solves your problem? > > Cheers, > Bjørn > > -- > Bjørn Sandvik > GIS developer, DHIS 2 > University of Oslo > www.dhis2.or

Re: [Dhis2-devs] GIS App Does Not Load and Just Hangs

2017-06-23 Thread Lorill Crees
ty of Oslo > www.dhis2.org > > On Thu, Jun 22, 2017 at 9:06 PM, Lorill Crees wrote: > >> Hi Jan, >> >> I am resurrecting this post as we have upgraded the instance we were >> having issues with to 2.24. The good news is that this has fixed the issue >> o

Re: [Dhis2-devs] GIS App Does Not Load and Just Hangs

2017-06-22 Thread Lorill Crees
d:eq:YA7ucrkJHpG&filter=id:eq:wH13kAssXvS&filter=id:eq:vmd5XC0nfd1&filter=id:eq:fNs58YoKNtZ&filter=id:eq:FghF6JyNzHq&filter=id:eq:BZpNRDPeRpn&filter=id:eq:VSVqcKwiS9Y&filter=id:eq:JK1A9m2Q4lc&filter=id:eq:mNUeA5SpBgq&filter=id:eq:aqwBudyNGwZ&filter=id:eq:h3lLf

Re: [Dhis2-devs] Deletion of Program and all associated objects via API v 2.25

2017-06-02 Thread Lorill Crees
ere may be some pieces of DHIS 2 functionality I haven't used that could potentially cause deletion errors. Please let me know if anyone has any advice. Thanks, Lorill On Tue, May 30, 2017 at 12:29 PM, Lorill Crees wrote: > Hi Jason, > > Thanks for the tips. We have already devel

Re: [Dhis2-devs] Deletion of Program and all associated objects via API v 2.25

2017-05-30 Thread Lorill Crees
one false move could result in the > deletion of a lot of artifacts. Thus, having an SQL function which can only > be run by an administrator, may be in fact an attractive option to > minimize the possibility of a mistake. > > Regards, > Jason > > > On Tue, May 30, 2017

Re: [Dhis2-devs] Deletion of Program and all associated objects via API v 2.25

2017-05-30 Thread Lorill Crees
complete the functionality to delete programs. Thanks, Lorill On Tue, May 30, 2017 at 12:02 AM, Jason Pickering < jason.p.picker...@gmail.com> wrote: > Hi Lorill, > > Is the data element linked to a chart, pivot or map? > > Regards, > Jason > > > On Mon, May 29,

Re: [Dhis2-devs] Deletion of Program and all associated objects via API v 2.25

2017-05-29 Thread Lorill Crees
ataelements. I have even tried rerunning analytics prior to deleting. Please let me know. Thanks, Lorill On Fri, May 26, 2017 at 2:33 PM, Lorill Crees wrote: > Hi, > > We have been working on functionality to delete full Programs and all > associated data and metadata via the Web API us

[Dhis2-devs] Deletion of Data Set and all associated objects via API v 2.25

2017-05-26 Thread Lorill Crees
cascade? Are there any other associated objects I haven't mentioned that we need to delete? So far we've been implementing on a trial and error basis. Please let me know if there are any other considerations we should be incorporating into our logic. Thanks, Lorill -- Lorill Crees P

[Dhis2-devs] Deletion of Program and all associated objects via API v 2.25

2017-05-26 Thread Lorill Crees
oned that we need to delete? So far we've been implementing on a trial and error basis. Please let me know if there are any other considerations we should be incorporating into our logic. Thanks, Lorill -- Lorill Crees Project Leader / Senior Developer 2Paths Solutions Ltd. <htt

Re: [Dhis2-devs] Aggregation type for Tracker Data Elements

2017-05-18 Thread Lorill Crees
> Lars > > > On Thu, May 18, 2017 at 4:35 PM, Lorill Crees wrote: > >> Hi Lars and Markus, >> >> Sorry, I forgot to include the version details: >> >> Version: >> 2.24 >> Build revision: >> 89234f1 >> Build date: >>

Re: [Dhis2-devs] Aggregation type for Tracker Data Elements

2017-05-18 Thread Lorill Crees
edit the Data Elements, that changing the Aggregation Type is >> disabled for Data Elements of type Tracker. >> >> How can we change the aggregation type to be average, so the year and >> month will show up properly in the pivot table instead of summed? >> >> Th

[Dhis2-devs] Aggregation type for Tracker Data Elements

2017-05-16 Thread Lorill Crees
aggregation type to be average, so the year and month will show up properly in the pivot table instead of summed? Thanks, Lorill -- Lorill Crees Project Leader / Senior Developer 2Paths Solutions Ltd. <http://www.2paths.com> lcr...@2paths.com skype: lorill2paths (604) 689-412

Re: [Dhis2-devs] Exception when importing User and User Role metadata in 2.24

2017-03-31 Thread Lorill Crees
do a join to update the passwords of the users in the new database. Do you have any advice here of what I should be doing to export users from one instance to populate a new empty instance, without having to do all these workarounds? Thanks, Lorill On Thu, Mar 30, 2017 at 2:20 PM, Lorill Crees

Re: [Dhis2-devs] Exception when importing User and User Role metadata in 2.24

2017-03-30 Thread Lorill Crees
er with which you are logged in, > right? This might be the reason.. If not I don't have any clear idea. > > Marc Garnica > > 2017-03-29 0:56 GMT+02:00 Lorill Crees : > >> Hi, >> >> I am attempting to set up a new empty 2.24 database and populate it with

[Dhis2-devs] Exception when importing User and User Role metadata in 2.24

2017-03-28 Thread Lorill Crees
.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) -- Lorill Crees Project Leader / Senior Developer 2Paths Solutions Ltd. <http://www.2paths.com> lcr...@2paths.com skype: lorill2paths (604) 689-4123 x 15

Re: [Dhis2-devs] Bulk Deletion of ProgramDataElements

2017-03-09 Thread Lorill Crees
filing an issue in JIRA? > > -- > Morten Olav Hansen > Senior Engineer, DHIS 2 > University of Oslo > http://www.dhis2.org > > On Fri, Mar 10, 2017 at 4:16 AM, Lorill Crees wrote: > >> Hi, >> >> Just following up on this. I similarly would like to bulk d

Re: [Dhis2-devs] Bulk Deletion of ProgramDataElements

2017-03-09 Thread Lorill Crees
ot;:2},"objectReports":[{"klass":"org.hisp.dhis.option.Option","index":0,"uid":"GNJOoVg1CdI","errorReports":[{"message":"Missing required property `name`.","mainKlass":"org.hisp.dhis.op

[Dhis2-devs] Bulk Deletion of ProgramDataElements

2017-03-07 Thread Lorill Crees
dpoint.java:1474) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thr

Re: [Dhis2-devs] Deletion of DataElements or Indicators that are used in Favourites

2017-02-28 Thread Lorill Crees
ten Olav Hansen > Senior Engineer, DHIS 2 > University of Oslo > http://www.dhis2.org > > On Tue, Feb 28, 2017 at 6:36 AM, Lorill Crees wrote: > >> Hi - just following up on this. Does anyone have any suggestions? >> >> On Thu, Feb 16, 2017 at 11:27 AM, Loril

Re: [Dhis2-devs] Deletion of DataElements or Indicators that are used in Favourites

2017-02-27 Thread Lorill Crees
Hi - just following up on this. Does anyone have any suggestions? On Thu, Feb 16, 2017 at 11:27 AM, Lorill Crees wrote: > Hi, > > I am able to successfully delete a Data Set and all corresponding > DataElements and Indicators and corresponding data via the Web API. However > whe

Re: [Dhis2-devs] [Dhis2-users] delete existing data elements

2017-02-16 Thread Lorill Crees
Great, thanks Lars! On Wed, Feb 15, 2017 at 9:20 AM, Lars Helge Øverland wrote: > I cannot remember exactly but I think it was in 2.20. > > The startup fix was backported to 2.25, 2.26. > > regards, > > Lars > > > On Tue, Feb 14, 2017 at 11:33 PM, Lorill Crees wr

Re: [Dhis2-devs] [Dhis2-users] delete existing data elements

2017-02-14 Thread Lorill Crees
ns due to a lingering legacy database table. We will include a > startup statement to remove it. In the meantime you can run this SQL > against your database: > > drop table caseaggregationcondition; > > regards, > > Lars > ​ > > On Tue, Feb 14, 2017 at 11:10 PM, Lor

Re: [Dhis2-devs] [Dhis2-users] delete existing data elements

2017-02-14 Thread Lorill Crees
~dhis2-users >> More help : https://help.launchpad.net/ListHelp >> >> > > > -- > Lars Helge Øverland > Lead developer, DHIS 2 > University of Oslo > Skype: larshelgeoverland > l...@dhis2.org > http://www.dhis2.org <https://www.dhis2.org/> > > >

Re: [Dhis2-devs] How to find all Indicators that use a specific DataElement via the API?

2017-02-14 Thread Lorill Crees
could combine it like > this: > > https://play.dhis2.org/demo/api/indicators?filter= > numerator:like:fbfJHSPpUQD&filter=denominator:like: > fbfJHSPpUQD&rootJunction=OR > > > regards, > > Lars > > > > On Sat, Feb 11, 2017 at 1:07 AM, Lorill Crees wrot

[Dhis2-devs] How to find all Indicators that use a specific DataElement via the API?

2017-02-10 Thread Lorill Crees
=denominator:like:HifxrAyx4sO DHIS 2 Version: 2.25 Build revision: a143100 Build date: 2017-02-07 14:28 Thanks, Lorill -- Lorill Crees Project Leader / Senior Developer 2Paths Solutions Ltd. <http://www.2paths.com> lcr...@2paths.com skype: lorill2paths (604) 689-412

Re: [Dhis2-devs] Response differences between /api/metadata and /api/23/metadata

2017-02-06 Thread Lorill Crees
versions prior to 2.23, we got this information returned by default. Please let me know what you think, and if a fourth option could be added. It would be basically "ERRORS_DEBUG". Thanks, Lorill On Sun, Oct 23, 2016 at 7:40 PM, Morten Olav Hansen wrote: > > On Tue,

Re: [Dhis2-devs] Determining DHIS2 version in use from database instance

2017-01-12 Thread Lorill Crees
vs > Post to : 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-dev

Re: [Dhis2-devs] [Dhis2-users] can't delete data element

2016-12-15 Thread Lorill Crees
Excellent - thanks Lars! On Thu, Dec 15, 2016 at 4:28 AM, Lars Helge Øverland wrote: > > This should be back-ported to 2.25 now. > > https://jira.dhis2.org/browse/DHIS2-209 > > Lars > > > On Tue, Dec 13, 2016 at 5:15 PM, Lorill Crees wrote: > >> Thanks Lars

Re: [Dhis2-devs] [Dhis2-users] can't delete data element

2016-12-13 Thread Lorill Crees
Thanks Lars. On Tue, Dec 13, 2016 at 8:10 AM, Lars Helge Øverland wrote: > Hi Lorill, > > this is done in master. Issue here: > > https://jira.dhis2.org/browse/DHIS2-209 > > Will see if it can be back-ported. > > Lars > > > On Tue, Dec 13, 2016 at 4:58 P

Re: [Dhis2-devs] [Dhis2-users] can't delete data element

2016-12-13 Thread Lorill Crees
Hi Lars, Just following up on progress with this. Do you have an ETA on when this will be available in 2.25? Thanks! Lorill On Fri, Nov 18, 2016 at 10:11 AM, Lorill Crees wrote: > Great, thanks Lars! > > On Fri, Nov 18, 2016 at 10:03 AM, Lars Helge Øverland > wrote: > >>

Re: [Dhis2-devs] Upgrade from 2.24 to 2.25 -> DataElements relationship to existing DataSets Lost

2016-11-21 Thread Lorill Crees
at 3:43 PM, Lorill Crees wrote: > Hi Lars, > > Thanks, I will follow up with you privately to share a 2.24 database. > > Thanks, > > Lorill > > On Mon, Nov 21, 2016 at 3:37 PM, Lars Helge Øverland > wrote: > >> Hi Lorill, >> >> okay no that is clearly

Re: [Dhis2-devs] Upgrade from 2.24 to 2.25 -> DataElements relationship to existing DataSets Lost

2016-11-21 Thread Lorill Crees
ore the 2.25 upgrade? > > regards, > > Lars > > > On Tue, Nov 22, 2016 at 12:25 AM, Lorill Crees wrote: > >> Hi, >> >> We are in the process of testing an upgrade from 2.24 to 2.25. We have >> followed the upgrade procedures and run the upgrade sql

[Dhis2-devs] Upgrade from 2.24 to 2.25 -> DataElements relationship to existing DataSets Lost

2016-11-21 Thread Lorill Crees
Sets have an empty array of DataSetElements. Is there something else we need to do here as part of the upgrade to ensure the DataSet / DataElements relationships are retained and transformed properly into DataSet / DataSetElements relationships? Thanks, Lorill -- Lorill Crees Project Lea

Re: [Dhis2-devs] [Dhis2-users] can't delete data element

2016-11-18 Thread Lorill Crees
Great, thanks Lars! On Fri, Nov 18, 2016 at 10:03 AM, Lars Helge Øverland wrote: > > Sure - will keep you posted - we will get it done in a few weeks time. > > regards, > > Lars > > > On Fri, Nov 18, 2016 at 7:01 PM, Lorill Crees wrote: > >> Thanks Lars. Yes

Re: [Dhis2-devs] [Dhis2-users] can't delete data element

2016-11-18 Thread Lorill Crees
Øverland wrote: > > > On Fri, Nov 18, 2016 at 6:43 PM, Lorill Crees wrote: > >> Hi Lars, >> >> That functionality would be what we need. Is this something that you >> could backport to 2.25? >> >> > Okay we can work on that. I have written an issue.

Re: [Dhis2-devs] [Dhis2-users] can't delete data element

2016-11-18 Thread Lorill Crees
nt something similar for data elements. > > > Lars > > > > > > > > On Fri, Nov 18, 2016 at 6:03 PM, Lorill Crees wrote: > >> Hi Lars, >> >> Thanks for the quick reply. Does this mean if we soft delete all data >> values associated with a data el

Re: [Dhis2-devs] [Dhis2-users] can't delete data element

2016-11-18 Thread Lorill Crees
ymore. Let us know > if that solves it. > > regards, > > Lars > > > > On Fri, Nov 18, 2016 at 5:48 PM, Lorill Crees wrote: > >> Hi, >> >> We have a long standing request to allow users of our custom DHIS 2 app >> to delete specific Data Sets and all c

Re: [Dhis2-devs] [Dhis2-users] can't delete data element

2016-11-18 Thread Lorill Crees
YES, > thank you for reminding... > > ___ > 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/ListHel

Re: [Dhis2-devs] DHIS 2 V 2.24 - /api/24/currentUser not available

2016-10-24 Thread Lorill Crees
s it to use > some of its other capabilities ? like data set, program availability > (`/api/23/currentUser/programs` `/api/23/currentUser/dataSet`) > > -- > Morten Olav Hansen > Senior Engineer, DHIS 2 > University of Oslo > http://www.dhis2.org > > On Tue, Oct 18, 2016 a

Re: [Dhis2-devs] Response differences between /api/metadata and /api/23/metadata

2016-10-18 Thread Lorill Crees
Hi Morten, I'm just following up on the two items below (inline). Thanks! Lorill On Fri, Sep 16, 2016 at 8:24 AM, Lorill Crees wrote: > Thanks for getting back to me so quickly Morten! I've answered inline > below. > > On Thu, Sep 15, 2016 at 10:19 PM, Morten Olav Han

[Dhis2-devs] DHIS 2 V 2.24 - /api/24/currentUser not available

2016-10-18 Thread Lorill Crees
-- Lorill Crees Project Leader / Senior Developer 2Paths Solutions Ltd. <http://www.2paths.com> lcr...@2paths.com skype: lorill2paths (604) 689-4123 x 15 ___ Mailing list: https://launchpad.net/~dhis2-devs Post to : dhis2-devs@lists.launchp

Re: [Dhis2-devs] Problem generating resource tables

2016-09-19 Thread Lorill Crees
>>> at org.springframework.aop.framework.ReflectiveMethodInvocation >>>>> .proceed(ReflectiveMethodInvocation.java:179) >>>>> >>>>> at org.springframework.aop.framework.JdkDynamicAopProxy.invoke( >>>>> JdkDynamicAopProxy.java:

Re: [Dhis2-devs] Response differences between /api/metadata and /api/23/metadata

2016-09-16 Thread Lorill Crees
a knowledge of >> IDs - we are doing those lookups for them by name or code. >> Would it be possible to add a flag to the api call where we can request >> the name or shortname or code to be returned in addition to just the ID? >> Perhaps similar to the metadata field fi

Re: [Dhis2-devs] Response differences between /api/metadata and /api/23/metadata

2016-09-15 Thread Lorill Crees
tionally, we may have even posted these objects by ID only, which means we will now need to do another API call to look up the object to get useful information to send back to the user. Keep in mind that in our app, the user doesn't actually even have a knowledge of IDs - we are doing those lookups for them

Re: [Dhis2-devs] Response differences between /api/metadata and /api/23/metadata

2016-08-31 Thread Lorill Crees
Hi - I'm just following up on these questions. Your help is appreciated. Thanks, Lorill On Mon, Aug 22, 2016 at 2:10 PM, Lorill Crees wrote: > Hi, > > I am working on updating our applications to DHIS 2 v 2.23 specifically in > regards to upgrading to using the /api/23/metada

Re: [Dhis2-devs] GIS App Does Not Load and Just Hangs

2016-08-23 Thread Lorill Crees
nice new GIS functionality, like > clustering of (millions of) events, access to Google Earth Engine layers > etc. > > Jan > On Tue, Aug 16, 2016 at 10:20 AM, Lorill Crees wrote: > Hi Jan, > > I am checking with the team that owns this instance for permission to > share the d

[Dhis2-devs] Response differences between /api/metadata and /api/23/metadata

2016-08-22 Thread Lorill Crees
Hi, I am working on updating our applications to DHIS 2 v 2.23 specifically in regards to upgrading to using the /api/23/metadata api call. I am testing against revision 23053. We have a few issues: 1. Is there any documentation outlining the response structure from all API calls, includin

Re: [Dhis2-devs] GIS App Does Not Load and Just Hangs

2016-08-16 Thread Lorill Crees
tion sets. Any > chance you could share a sample database privately so we can test it > properly? > > Jan > > On 16 August 2016 at 00:42, Lorill Crees wrote: > >> Hi, >> >> Do you have any suggestions for this issue? We're currently blocked and >>

Re: [Dhis2-devs] GIS App Does Not Load and Just Hangs

2016-08-15 Thread Lorill Crees
Hi, Do you have any suggestions for this issue? We're currently blocked and not able to use the GIS app on this instance. Thanks, Lorill On Thu, Aug 11, 2016 at 12:00 PM, Lorill Crees wrote: > Hi, > > In a separate thread "GIS Google Maps Error" I had mentioned we ar

Re: [Dhis2-devs] "Analytics table dimensions contain duplicates" Error

2016-08-09 Thread Lorill Crees
On Mon, Aug 8, 2016 at 5:03 PM, Lorill Crees wrote: > Hi, > > When running analytics on one of our instances, we get the error "Process > failed: Analytics table dimensions contain duplicates: ["oZXosvGYth6"]". > The full stack is pasted below. > > How can

[Dhis2-devs] "Analytics table dimensions contain duplicates" Error

2016-08-08 Thread Lorill Crees
Hi, When running analytics on one of our instances, we get the error "Process failed: Analytics table dimensions contain duplicates: ["oZXosvGYth6"]". The full stack is pasted below. How can I fix this? I took a quick look through a couple tables to see if I could find this UID but no success, an

Re: [Dhis2-devs] GIS Google Maps Error

2016-07-27 Thread Lorill Crees
you have the chance to upgrade to a new version of DHIS 2? > > There is a lot of GIS improvements in DHIS 2.23 and 2.24. > > Bjørn > > -- > Bjørn Sandvik > GIS developer, DHIS 2 > University of Oslo > www.dhis2.org > > > > On Tue, Jul 26, 2016 at 10:15 PM, Lor

Re: [Dhis2-devs] DHIS2 Docs

2016-05-30 Thread Lorill Crees
Hi Lars, Just following up on this. What would the timeline look like for the implementation of POST support for resources in api/documents? Thanks, Lorill On Thu, May 12, 2016 at 3:26 PM, Lorill Crees wrote: > Thanks Lars, that is helpful. > > We have a couple of use cases

Re: [Dhis2-devs] SQL View Doesn't work for comma seperated variables

2016-05-28 Thread Lorill Crees
Hi Priyanka, I had asked a related question recently about the ability to support "IN" clauses, you can view the thread here: https://lists.launchpad.net/dhis2-devs/msg44763.html Lorill On Thu, May 26, 2016 at 11:34 PM, Jason Pickering < jason.p.picker...@gmail.com> wrote: > Hi there. > > This

Re: [Dhis2-devs] Caching issue with pivot table when editing program indicators

2016-05-25 Thread Lorill Crees
> - Disable analytics caching in dhis from Settings > Server > Cache > strategy > No cache. > > best regards, > > Lars > > > > > > On Wed, May 25, 2016 at 9:34 PM, Lorill Crees wrote: > >> Hi, >> >> I'm writing on behalf of some user

[Dhis2-devs] Caching issue with pivot table when editing program indicators

2016-05-25 Thread Lorill Crees
Hi, I'm writing on behalf of some users who are reportedly having continual caching issues when editing program indicator calculations. Their edits do not end up being reflected on the pivot table. They have tried running the cache cleaner and even re-running analytics, and trying on different co

Re: [Dhis2-devs] DHIS2 Docs

2016-05-12 Thread Lorill Crees
t; > If you could provide a bit more detail about your requirement that would > also be helpful to guide us. > > best regards, > > Lars > > > > > On Thu, May 12, 2016 at 10:14 PM, Lorill Crees wrote: > >> Thanks Morten. That's great news about web-api vers

Re: [Dhis2-devs] Changing the parent of an org unit

2016-05-12 Thread Lorill Crees
ar the application cache (under data admin) and ii) Update > organisation unit paths under maintenance. > > regards, > > Lars > > > > > > > On Thu, May 12, 2016 at 11:14 PM, Lorill Crees wrote: > >> Hi, >> >> I was previously unaware that ther

Re: [Dhis2-devs] Changing the parent of an org unit

2016-05-12 Thread Lorill Crees
g unit, or are there other dependencies that would break because of this? Thanks, Lorill On Mon, May 2, 2016 at 10:57 AM, Lorill Crees wrote: > Hi, > > We have a DHIS 2 instance where the org unit hierarchy was initially set > up incorrectly for a couple districts. The districts

Re: [Dhis2-devs] DHIS2 Docs

2016-05-12 Thread Lorill Crees
functionality. > > > > -- > Morten Olav Hansen > Senior Engineer, DHIS 2 > University of Oslo > http://www.dhis2.org > > On Thu, May 12, 2016 at 12:54 AM, Lorill Crees wrote: > >> Hi Morten and Team, >> >> Following up on this again. Are there still p

Re: [Dhis2-devs] DHIS2 Docs

2016-05-11 Thread Lorill Crees
2016 at 10:59 AM, Lorill Crees wrote: > Hi - just following up on this. Any recommendations on how we should > approach the storage of dataset & program level documents? > > On Tue, Apr 26, 2016 at 2:13 PM, Lorill Crees wrote: > >> Hi All, >> >> I just wante

[Dhis2-devs] Support of "IN" clauses in SQL Views / Queries?

2016-05-03 Thread Lorill Crees
Hi, We're attempting to pull data from DHIS 2 via DHIS 2 SQL Views / Queries and want to be able to use "IN" clauses to filter the data. Is there a way to do this? For example we want to create a SQL View or query to get tracked entity data values, but only for specific data elements. The number

Re: [Dhis2-devs] DHIS2 Docs

2016-05-02 Thread Lorill Crees
Hi - just following up on this. Any recommendations on how we should approach the storage of dataset & program level documents? On Tue, Apr 26, 2016 at 2:13 PM, Lorill Crees wrote: > Hi All, > > I just wanted to revive this old thread regarding the storage of documents > i

[Dhis2-devs] Changing the parent of an org unit

2016-05-02 Thread Lorill Crees
Hi, We have a DHIS 2 instance where the org unit hierarchy was initially set up incorrectly for a couple districts. The districts were placed under an incorrect parent, and now we want to move them to the correct parent. What would be the best way to do this, assuming there is associated data? Ca

Re: [Dhis2-devs] Attempting to retrieve data in ADX format

2016-04-28 Thread Lorill Crees
gest you upgrade to latest 2.23 and make sure that > codes are present also for categories and category options in you local > system. > > Thanks for reporting and for reproducing on the demo. > > best regards, > > Lars > > > > > > On Wed, Apr 27, 2016 at

[Dhis2-devs] Attempting to retrieve data in ADX format

2016-04-27 Thread Lorill Crees
Hi, I'm playing around with retrieving data in ADX format. I've been looking at the documentation here: http://dhis2.github.io/dhis2-docs/master/en/developer/html/ch01s16.html#d0e3574 I've been unable to retrieve any actual data - I can only receive an empty adx tag. Here are some examples from

Re: [Dhis2-devs] DHIS2 Docs

2016-04-26 Thread Lorill Crees
Hi All, I just wanted to revive this old thread regarding the storage of documents in DHIS 2. We are wanting to programatically upload files into DHIS 2 that are related to Data Sets and Programs in general, for users to be able to view/download via the DHIS 2 UI. Using the file resource function

Re: [Dhis2-devs] Importing of GML Files / Districts without Coordinates

2016-03-08 Thread Lorill Crees
a hack, but I would try and set it to "POLYGON". >>> >>> The client will likely accept these empty polygons, but that would be >>> the correct type in this case. >>> >>> Not ideal, but maybe give it a try. >>> >>> On Fri, Fe

Re: [Dhis2-devs] Unable to add Program Indicators from different Programs in Data Visualizer

2016-03-08 Thread Lorill Crees
asap. >> >> https://bugs.launchpad.net/dhis2/+bug/1552954 >> >> >> regards, >> >> Lars >> >> On Thu, Mar 3, 2016 at 11:45 PM, Lorill Crees wrote: >> >>> Hi, >>> >>> We are attempting to create a chart of some prog

Re: [Dhis2-devs] [Bug 1552954] [NEW] Unable to add Program Indicators from different Programs in Data Visualizer

2016-03-04 Thread Lorill Crees
Thanks Lars. Is it possible to backport this also to 2.22? On Thu, Mar 3, 2016 at 3:12 PM, Lars Helge Øverland wrote: > Public bug reported: > > We are attempting to create a chart of some program indicators across > different programs. In the Data Visualizer, first we go to Data -> > Program I

[Dhis2-devs] Unable to add Program Indicators from different Programs in Data Visualizer

2016-03-03 Thread Lorill Crees
Hi, We are attempting to create a chart of some program indicators across different programs. In the Data Visualizer, first we go to Data -> Program Indicators -> [select program], then select a couple of indicators. When we then change the program in the dropdown, the selections we just made are

Re: [Dhis2-devs] Importing of GML Files / Districts without Coordinates

2016-02-22 Thread Lorill Crees
Sorry - forgot to mention this is 2.22 r 21826. In the featuretype field we have tried both null and 'NONE'. On Fri, Feb 19, 2016 at 4:30 AM, Knut Staring wrote: > What did you put in the Featuretype field? > > On Thu, Feb 18, 2016 at 11:04 PM, Lorill Crees wrote: &

[Dhis2-devs] Importing of GML Files / Districts without Coordinates

2016-02-18 Thread Lorill Crees
Hi, We're importing GML files into a DHIS 2 instance and there are a couple of districts that we don't have coordinates for yet. We've uploaded what we have successfully and the mapping looks great. However, if we have a pivot table with data points included from the two districts that we don't h

Re: [Dhis2-devs] App Installation - SSL issue

2016-02-17 Thread Lorill Crees
he reverse proxy to that. >> >> Regards >> Jason >> >> >> On Wed, Feb 17, 2016 at 6:40 AM, Morten Olav Hansen >> wrote: >> >>> Ok, sounds like you have a misconfigured reverse proxy? How is the >>> internal instance set up? is it dir

Re: [Dhis2-devs] App Installation - SSL issue

2016-02-16 Thread Lorill Crees
> Hm, ok. I haven't seen that issue before. So the app shows up, just that > the link in the menu is wrong? What if you go there directly, > /api/apps/{app-name} ? > > On Wed, Feb 17, 2016 at 12:08 PM, Lorill Crees wrote: > >> Hi Morten, >> >> Yes - the base

Re: [Dhis2-devs] App Installation - SSL issue

2016-02-16 Thread Lorill Crees
Hi Morten, Yes - the baseUrl is set to *. Lorill On Tue, Feb 16, 2016 at 6:17 PM, Morten Olav Hansen wrote: > Hi > > Could you have a look at your manifest file and see what the baseUrl is > set to? for 2.22 it should just be * > > On Wed, Feb 17, 2016 at 7:03 AM, Lorill Cre

[Dhis2-devs] App Installation - SSL issue

2016-02-16 Thread Lorill Crees
Hi, We have set up an internal test instance of DHIS 2 that is not running via ssl. When installing apps into the instance, it is not able to load any of the apps or resources because it is redirecting to a path of https instead of http. eg: our website: http://[server] installed app is attempt

[Dhis2-devs] Unable to see Program Attribute Data in Pivot Table

2016-02-11 Thread Lorill Crees
Hi, We have tracker data uploaded into DHIS 2 and can verify the attribute data is there when searching through the tracker capture screen. However, when attempting to view this data in the pivot table, we can select the attributes but no data shows up in the table. We select "Event data items" -

[Dhis2-devs] Web API User Query Parameter "manage"

2016-02-02 Thread Lorill Crees
Hi, We are using the Managed User functionality and see that we can query the user list via the Web API with the parameter "canManage" (true/false). /api/users?canManage=true However some borrowed code that we have is using the parameter "manage" (true/false). /api/users?manage=true I cannot fin

Re: [Dhis2-devs] Hibernate Exception in scheduled task

2016-02-02 Thread Lorill Crees
Thanks Knut. On Tue, Feb 2, 2016 at 12:46 PM, Knut Staring wrote: > Hi Lorill, > > This was recently replied to by Halvdan: > > https://lists.launchpad.net/dhis2-users/msg09122.html > > On Tue, Feb 2, 2016 at 8:18 PM, Lorill Crees wrote: > >> Hi, >> >>

[Dhis2-devs] Hibernate Exception in scheduled task

2016-02-02 Thread Lorill Crees
Hi, We have 9 separate DHIS 2 instances that we are managing and I notice that we are getting a recurring error logged in the tomcat logs on all instances related to scheduled tasks (stack trace below). We are using 2.22 revision 21782. I'm not sure what functionality this is affecting. Should w

Re: [Dhis2-devs] Tracked Entity Attributes filter not working in API

2015-12-17 Thread Lorill Crees
holiday right now but I am sure he will fix it when he gets >>> back after this week. (I don't know this code well enough to fix it). >>> >>> regards, >>> >>> Lars >>> >>> >>> On Tue, Dec 8, 2015 at 8:59 PM, Lorill Cr

Re: [Dhis2-devs] NPE for category option combos

2015-12-09 Thread Lorill Crees
and it should not > crash at that point. > > regards, > > Lars > > > > > On Tue, Dec 8, 2015 at 10:25 PM, Lorill Crees wrote: > >> Hi, >> >> After upgrading to v 2.22 r 21368 I am getting a NullPointerException >> back from DHIS 2 (pas

[Dhis2-devs] NPE for category option combos

2015-12-08 Thread Lorill Crees
Hi, After upgrading to v 2.22 r 21368 I am getting a NullPointerException back from DHIS 2 (pasted below) when attempting to create a Category Option Combo via the API. URL via POST: http://localhost:8090/dhis/api/categoryOptionCombos with json: {"name":"MALE","categoryCombo":{"id":"bZ8GuALBl4r"

[Dhis2-devs] Tracked Entity Attributes filter not working in API

2015-12-08 Thread Lorill Crees
Hi, With 2.22 rev 21368, filters no longer appear to work with tracked entity attributes in the API. We are using this via GET for example: api/trackedEntityAttributes?filter=code:eq:v008 but the entire list of tracked entity attributes is being returned instead of being filtered by the specifi

Re: [Dhis2-devs] DHIS 2 Internal Server Error when updating program via web api v 2.22

2015-12-07 Thread Lorill Crees
(OncePerRequestFilter.java:107) *note* *The full stack trace of the root cause is available in the Apache Tomcat/8.0.21 logs.* On Fri, Dec 4, 2015 at 4:02 AM, Morten Olav Hansen wrote: > Hi > > Could you please try again with rev 21328. > > -- > Morten > > On Fri, Dec 4, 2015 at 7:24 AM, Lori

[Dhis2-devs] DHIS 2 Internal Server Error when updating program via web api v 2.22

2015-12-03 Thread Lorill Crees
Hi, I'm testing out upgrading our app to DHIS 2 v 2.22 (r21273) and am getting an internal server error due to an underlying hibernate issue when using the web api via PUT to the following url: http://localhost:8090/dhis/api/programs/su3C65hggZ3?strategy=CREATE_AND_UPDATE We are using this call

Re: [Dhis2-devs] Encryption Exception on startup

2015-12-02 Thread Lorill Crees
Then get the latest war file again and restart. > > regards, > > Lars > > > On Wed, Dec 2, 2015 at 7:28 PM, Lorill Crees wrote: > >> Hi, >> >> I am upgrading from v2.21 to the current trunk version (r 21258). When I >> attempt to start up tomcat I get the

[Dhis2-devs] Encryption Exception on startup

2015-12-02 Thread Lorill Crees
Hi, I am upgrading from v2.21 to the current trunk version (r 21258). When I attempt to start up tomcat I get the below EncryptionOperationNotPossibleException exception and the app will not start up. Has anything changed with the encryption in this latest version? Thanks, Lorill ERROR 2015-

Re: [Dhis2-devs] Bulk Deletion of Data

2015-10-28 Thread Lorill Crees
gt;>> >>>>> Although there is no direct way as Lars points out, if you know what >>>>> you wish to delete, it is still possible. Namely, if you transmit a "" >>>>> value for the value which you wish to delete, it will be deleted. Thus, if >

Re: [Dhis2-devs] OpenFuturePeriods issue with DHIS 2 v 2.21 Upgrade

2015-10-28 Thread Lorill Crees
you want to impose stricter control over the data that > can be imported. So we plan to keep this constraint in place for now - you > can just adjust the "allow future periods" value to work around it. > > regards, > > Lars > > > > > > > On Tue, Oct

[Dhis2-devs] OpenFuturePeriods issue with DHIS 2 v 2.21 Upgrade

2015-10-27 Thread Lorill Crees
Hi, We're in the process of testing out an upgrade to v 2.21 and are encountering a new issue with the upload of data values via the API in regards to the openFuturePeriods field. The dataset we're uploading data to is set to yearly data, and the data we are uploading has a period of "2015". The

Re: [Dhis2-devs] Bulk Deletion of Data

2015-10-27 Thread Lorill Crees
> >>> >>> On Mon, Oct 26, 2015 at 10:37 PM, Aaron Gladders >>> wrote: >>> >>>> Hi Lars - is there a recommended approach to "deactive" data without >>>> getting into the database itself? If not is it worth setting up a >

Re: [Dhis2-devs] Bulk Deletion of Data

2015-09-24 Thread Lorill Crees
Hi, Just following up on this. Any ideas on the best way to programatically bulk delete data values? Thanks, Lorill On Tue, Sep 15, 2015 at 1:04 PM, Lorill Crees wrote: > Hi, > > I seem to remember a prior thread on this but I can't seem to find it. We > want to be able t

Re: [Dhis2-devs] API - User Settings throwing Exceptions

2015-09-23 Thread Lorill Crees
chpad.net/dhis2/+bug/1498786). This would be the >> preferred way to report bugs. >> >> Once it has been fixed, the bug will be updated. >> >> Best regards, >> Jason >> >> >> On Tue, Sep 22, 2015 at 11:49 PM, Lorill Crees wrote: >> >>

[Dhis2-devs] API - User Settings throwing Exceptions

2015-09-22 Thread Lorill Crees
Hi, I am accessing the User Settings via the api, and if certain settings for a user are not set, the api is throwing a 500 Null Pointer exception. For example, on the demo server, this call properly returns "en": https://apps.dhis2.org/demo/api/userSettings/keyUiLocale?user=admin whereas this c

Re: [Dhis2-devs] DHIS 2 Documentation in French?

2015-09-16 Thread Lorill Crees
Hi Calle, The interface is available in English, French and Portuguese. Cheers, Lorill On Wed, Sep 16, 2015 at 4:38 AM, Calle Hedberg wrote: > Lorill, > > Excellent - appreciated (btw - interface in English or French?) > > Regards > Calle > > On 15 September 201

  1   2   >