Re: [Dhis2-devs] DHIS-2 API For setting attributes values of organisation unit.

2017-11-21 Thread Morten Olav Hansen
Hi Omer Just use the normal OU payload, and add the attributes: { ... normal OU payload, "attributes": [ { "attribute": {"id": "UID OF ATTRIBUTE"}, "value": "value1"}, { "attribute": {"id": "UID OF ATTRIBUTE"}, "value": "value2"} ] } -- Morten Olav Hansen Senior Engineer,

[Dhis2-devs] Reset DataSet completeness to zero - DHIS2 2.25

2017-11-21 Thread Raminosoa Rabemanantsoa, Tantely
Dear DHIS2 community, I would like to ask if there is a way to reset report completeness to 0 (zero) in a bulk manner for some group of OrgUnit, via SQLView or Web API? We know the Orgunit uid, period and DataSet uid to reset. Thank you already for your suggestions! Regards, Tantely. --

Re: [Dhis2-devs] [Dhis2-users] Error when exporting metadata throuhg metadata export

2017-11-21 Thread vunda limbe
Hi Knut, Attached the logs. Thanks. On Fri, Nov 17, 2017 at 2:37 PM, Knut Staring wrote: > Hello Vunda, > > Whenever you get a 500 Internal Server Error, you have too look at (and > probrobably share) your Tomcat server log, which should contain more > interesting error

Re: [Dhis2-devs] [Dhis2-users] how to set the default gis app map 's center?

2017-11-21 Thread Jan Henrik Øverland
Hi, there's currently no way to set a default map center. Jan On 21 November 2017 at 03:56, 林晓东 wrote: > Hi,all, > > I want to know how to set the default map center of gis app. > > Thanks. > > > > > -- > 此致 > > easy > > 莫愁前路无知己,天下谁人不识君。 > > > > >

Re: [Dhis2-devs] [Dhis2-users] Error when exporting metadata throuhg metadata export

2017-11-21 Thread Ramón José Jiménez Pomareta
in your logs there's only the OK saying DHIS2 started. Try to get the log at the time of the error (tail -f while reproducing the error) 2017-11-21 10:37 GMT+01:00 vunda limbe : > Hi Knut, > > Attached the logs. > > Thanks. > > On Fri, Nov 17, 2017 at 2:37 PM, Knut Staring

[Dhis2-devs] Reset DataSet completeness to 0 (incomplete)

2017-11-21 Thread Raminosoa Rabemanantsoa, Tantely
Dear DHIS2 community, I would like to ask if there is a way to reset report completeness to 0 (zero) in a bulk manner for some group of OrgUnit, via SQLView or Web API, if we know the Orgunit uid, period and DataSet uid to reset? I am using DHIS2 2.25. Thank you already for your suggestions!

Re: [Dhis2-devs] [Dhis2-users] Error when exporting metadata throuhg metadata export

2017-11-21 Thread vunda limbe
Hi ramon, I only find this in my tomcat folder On Tue, Nov 21, 2017 at 11:47 AM, Ramón José Jiménez Pomareta < dh...@pomareta.ch> wrote: > in your logs there's only the OK saying DHIS2 started. Try to get the log > at the time of the error (tail -f while reproducing the error) > > 2017-11-21

Re: [Dhis2-devs] [Dhis2-users] Error when exporting metadata throuhg metadata export

2017-11-21 Thread Knut Staring
Hi Vunda, Look for a file called catalina.out, probably in your logs folder under Tomcat. Knut On Tue, Nov 21, 2017 at 5:25 PM, vunda limbe wrote: > Hi ramon, > > I only find this in my tomcat folder > > On Tue, Nov 21, 2017 at 11:47 AM, Ramón José Jiménez Pomareta < >

Re: [Dhis2-devs] Adding compulsory data elements

2017-11-21 Thread Jasper Timm
Hey devs, Be great to get a response on this. At the moment it's preventing us from using compulsory data elements at all. I've reproduced it on other 2.26 instances too. Thanks, - Jasper On Tue, Nov 14, 2017 at 1:02 PM, Jasper Timm wrote: > Hi devs, > >

Re: [Dhis2-devs] [Dhis2-users] how to set the default gis app map 's center?

2017-11-21 Thread JM Alcantara
Perhaps a user setting too? I suppose other options could be useful, for example the current location of the computer. JM > El 21/11/2017, a las 12:48, Knut Staring escribió: > > I suppose a JIRA request could be filed to include this as a (global?) > setting. > > Knut >

Re: [Dhis2-devs] [Dhis2-users] how to set the default gis app map 's center?

2017-11-21 Thread Knut Staring
I suppose a JIRA request could be filed to include this as a (global?) setting. Knut On Tue, Nov 21, 2017 at 12:41 PM, Jan Henrik Øverland wrote: > Hi, there's currently no way to set a default map center. > > Jan > > On 21 November 2017 at 03:56, 林晓东 wrote: >

Re: [Dhis2-devs] [Dhis2-users] Error when exporting metadata throuhg metadata export

2017-11-21 Thread Dan Cocos
Depending on the version of Tomcat it doesn’t always log everything to catalina.out $DHIS_HOME by default /opt/dhis2/ then look in /opt/dhis2/logs/dhis.log and you should be able to find some clues. Good luck. Dan Cocos Principal, BAO Systems dco...@baosystems.com | http://www.baosystems.com

Re: [Dhis2-devs] [Dhis2-users] Data Elements and Category Options Not Showing Up in Form Designer

2017-11-21 Thread Laura E. Lincks
You may want to upgrade to the latest build. We had a similar problem with 2.27 (on a build from August) and we just upgraded this very minute to the latest build 37edfc2 (Nov 8, 2017) and the problem appears fixed. *Laura E. Lincks* Database Manager/Developer ICAP - Columbia University Mailman

Re: [Dhis2-devs] [Dhis2-users] External access (Without Login) Not Working for Resources.

2017-11-21 Thread Morten Olav Hansen
Hi Could you please include the server log? it should include a stack trace of what is going on -- Morten Olav Hansen Senior Engineer, DHIS 2 University of Oslo http://www.dhis2.org On Mon, Nov 20, 2017 at 6:19 PM, Sourabh Bhardwaj wrote: > Hi All, > > I need to share

Re: [Dhis2-devs] Issues with Upgrade from DHIS 2.26 to DHIS 2.27

2017-11-21 Thread Morten Olav Hansen
Hi Jhansi Legends are now directly contained in the object where they are used, so no need to reference by UIDs anymore, translations should also be put directly in the legend payload. created/lastUpdated should not be gone, I think thats a bug, I will look into it. -- Morten Olav Hansen

[Dhis2-devs] DHIS-2 API For setting attributes values of organisation unit.

2017-11-21 Thread Omer Butt
Hi, I have studied developer guide for searching an API: *That will set the value of extra attributes that i have added to organisation unit. * Could not find yet. *For Example :* Attribute id:abc (*which is the extra field/attribute of organisation unit )* Attribute value: 123 set it to org