[Dhis2-devs] Pivot Tables (ReportTable) to Standard Report HTML report format

2015-09-04 Thread moses mwale
Hello All, am keenly interested to learn how to convert Pivot Tables (ReportTable) to Standard Report HTML report format. I know how to do that from event report to standard report html report format, How can I arrange indicators, period which are connected to 2 Organization Units? Am used to the

Re: [Dhis2-devs] Analytics API: Dimensions cannot be specified more than once

2015-09-04 Thread Greg Rowles
Hi Lars Problem solved! It runs successfully under version 2.20 while v2.19 returns error message Dimensions cannot be specified more than once: [[de, type: DATAELEMENT, items: [[cx6F4m5U5v2, type: null, items: [], legend set: null, filter: null], [Cb3X7x9P7b2, type: null, items: [], legend set:

Re: [Dhis2-devs] Analytics API: Dimensions cannot be specified more than once

2015-09-04 Thread Lars Helge Ă˜verland
Hi Greg, can you post the entire request analytics URL ? Which version are you on? If 2.20 the api response should tell you which dimensions are duplicated. regards, Lars On Fri, Sep 4, 2015 at 3:25 PM, Greg Rowles wrote: > Hi Devs > > We're working on a report that accepts multiple (indic

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 19999: Report table, removed unused properties

2015-09-04 Thread noreply
revno: 1 committer: Lars Helge Overland branch nick: dhis2 timestamp: Fri 2015-09-04 16:39:54 +0200 message: Report table, removed unused properties modified: dhis-2/dhis-api/src/main/java/org/hisp/dhis/reporttable/ReportTable.ja

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 19998: PT DV value types updated.

2015-09-04 Thread noreply
revno: 19998 committer: Jan Henrik Overland branch nick: dhis2 timestamp: Fri 2015-09-04 16:37:08 +0200 message: PT DV value types updated. modified: dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-event-reports/scripts/core.

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 19997: Analytics, fixed bug with download in table layout and data element operands / details

2015-09-04 Thread noreply
revno: 19997 committer: Lars Helge Overland branch nick: dhis2 timestamp: Fri 2015-09-04 16:25:32 +0200 message: Analytics, fixed bug with download in table layout and data element operands / details modified: dhis-2/dhis-api/src/ma

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 19996: Analytics, streams for filtering

2015-09-04 Thread noreply
revno: 19996 committer: Lars Helge Overland branch nick: dhis2 timestamp: Fri 2015-09-04 15:51:59 +0200 message: Analytics, streams for filtering modified: dhis-2/dhis-services/dhis-service-analytics/src/main/java/org/hisp/dhis/anal

[Dhis2-devs] Analytics API: Dimensions cannot be specified more than once

2015-09-04 Thread Greg Rowles
Hi Devs We're working on a report that accepts multiple (indicator) dx parameter values. From this list we're trying to build an API call that includes numerator + denominator formula UIDs so that we also display numerator and denominator totals in the report. Example parameter for 3 indicator UID

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 19995: use InitTableAlteror to upgrade de.valueTypes

2015-09-04 Thread noreply
revno: 19995 committer: Morten Olav Hansen branch nick: dhis2 timestamp: Fri 2015-09-04 18:23:32 +0700 message: use InitTableAlteror to upgrade de.valueTypes modified: dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dh

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 19994: remove old type/numbertype/texttype from data element

2015-09-04 Thread noreply
revno: 19994 committer: Morten Olav Hansen branch nick: dhis2 timestamp: Fri 2015-09-04 17:49:08 +0700 message: remove old type/numbertype/texttype from data element modified: dhis-2/dhis-api/src/main/java/org/hisp/dhis/common/ValueT

Re: [Dhis2-devs] [Web API] Is there a way to do AND with filters?

2015-09-04 Thread Morten Olav Hansen
Hi Harsh String also has a numeric value, i.e. "1" is smaller than "2", so for those simple cases you can use it. But don't be fooled, this is -string- comparing, not comparing integers. -- Morten On Fri, Sep 4, 2015 at 3:46 PM, Harsh Atal wrote: > Thank You Morten, > Could you clarify just th

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 19993: de.type => de.valueType conversion, wip

2015-09-04 Thread noreply
revno: 19993 committer: Morten Olav Hansen branch nick: dhis2 timestamp: Fri 2015-09-04 16:29:23 +0700 message: de.type => de.valueType conversion, wip removed: dhis-2/dhis-services/dhis-service-importexport/src/main/java/org/hisp/d

Re: [Dhis2-devs] Moving directly from 2.18 to 2.20

2015-09-04 Thread Pamod Amarakoon
Thank you for the confirmation On Thu, Sep 3, 2015 at 8:40 PM, Victor Garcia wrote: > Thank you both for the comments. They are reassuring ;-) > > On 3 September 2015 at 09:46, Jason Pickering > wrote: > > And, be sure to remove everything in the tomcat/webapps/dhis directory > (or > > your loc

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 19992: PT minor fix.

2015-09-04 Thread noreply
revno: 19992 committer: Jan Henrik Overland branch nick: dhis2 timestamp: Fri 2015-09-04 11:07:52 +0200 message: PT minor fix. modified: dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-pivot/scripts/app.js -- lp:dhis2 https:

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 19991: PT removed value type filtering for data items.

2015-09-04 Thread noreply
revno: 19991 committer: Jan Henrik Overland branch nick: dhis2 timestamp: Fri 2015-09-04 11:06:49 +0200 message: PT removed value type filtering for data items. modified: dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-pivot/s

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 19990: Typo

2015-09-04 Thread noreply
revno: 19990 committer: Lars Helge Overland branch nick: dhis2 timestamp: Fri 2015-09-04 11:00:49 +0200 message: Typo modified: dhis-2/dhis-api/pom.xml -- lp:dhis2 https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk Your team

Re: [Dhis2-devs] error using curl command

2015-09-04 Thread channara rin
If i tried use test with -u ... that is work fine. but if i add more function like -X POST -d -v it doesn't work On Fri, Sep 4, 2015 at 3:55 PM, Bob Jolliffe wrote: > Hi Channara > > I just had a look at your original mail and I see that the user admin was > recognized so it means the cu

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 19989: ProgramIndicator, removed valueType and rootDate properties, not in use

2015-09-04 Thread noreply
revno: 19989 committer: Lars Helge Overland branch nick: dhis2 timestamp: Fri 2015-09-04 10:57:35 +0200 message: ProgramIndicator, removed valueType and rootDate properties, not in use modified: dhis-2/dhis-api/pom.xml dhis-2/dhis-

Re: [Dhis2-devs] error using curl command

2015-09-04 Thread Bob Jolliffe
Hi Channara I just had a look at your original mail and I see that the user admin was recognized so it means the curl option was ok but some issue with the password. My guess is that you have some strange characters in the password which are being expanded/interpreted by the shell. Try quoting l

Re: [Dhis2-devs] error using curl command

2015-09-04 Thread Morten Olav Hansen
Can you show us the file you are trying to send? -- Morten On Fri, Sep 4, 2015 at 3:46 PM, channara rin wrote: > Hi Morten, > Hi tried test with user:password first. but still error. > > On Thu, Sep 3, 2015 at 11:43 PM, channara rin > wrote: > >> yes, it work too. >> >> >> On Thu, Sep 3, 2015

Re: [Dhis2-devs] [Web API] Is there a way to do AND with filters?

2015-09-04 Thread Harsh Atal
Thank You Morten, Could you clarify just this one more thing please :- What does it mean for the operator *gt,lt,ge,le* to be applied on a field which is of type string? For eg what would be compared if I write *api/programs?filter=validationCriteria.value:gt:4 *? And the type of validationCriter

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 19988: update add/update de ui to use value types

2015-09-04 Thread noreply
revno: 19988 committer: Morten Olav Hansen branch nick: dhis2 timestamp: Fri 2015-09-04 15:14:19 +0700 message: update add/update de ui to use value types modified: dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-datadicti

Re: [Dhis2-devs] [Web API] Is there a way to do AND with filters?

2015-09-04 Thread Morten Olav Hansen
Hi, Sorry, seems the docs are a bit out of date. It was sent out on the mailing list a while that this actually changed, all operators are now AND, it is not possible to do any kind of OR operation (but you can use :in:[]) -- Morten On Fri, Sep 4, 2015 at 2:58 PM, Harsh Atal wrote: > Hi > > In

[Dhis2-devs] [Web API] Is there a way to do AND with filters?

2015-09-04 Thread Harsh Atal
Hi In the documentation it says (1.6. Meta-data object filter) :- Get all data elements with aggregation operator "sum" and value type "int": /api/dataElements.json?filter=aggregationOperator:eq:sum&filter=type:eq:int Is this really possible, can I do an AND over multiple filters? may be with a

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 19987: use value types in data element importer

2015-09-04 Thread noreply
revno: 19987 committer: Morten Olav Hansen branch nick: dhis2 timestamp: Fri 2015-09-04 14:12:38 +0700 message: use value types in data element importer modified: dhis-2/dhis-services/dhis-service-importexport/src/main/java/org/hisp

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 19986: comment out de types usage in dhis14 import and mobile/sms services, will be updated later

2015-09-04 Thread noreply
revno: 19986 committer: Morten Olav Hansen branch nick: dhis2 timestamp: Fri 2015-09-04 14:11:50 +0700 message: comment out de types usage in dhis14 import and mobile/sms services, will be updated later modified: dhis-2/dhis-servic

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 19985: use ValueType in DataElementConverter

2015-09-04 Thread noreply
revno: 19985 committer: Morten Olav Hansen branch nick: dhis2 timestamp: Fri 2015-09-04 14:09:36 +0700 message: use ValueType in DataElementConverter modified: dhis-2/dhis-services/dhis-service-importexport/src/main/java/org/hisp/dh