#1 2013-12-23 14:47:28

jeanmarre
Member
Registered: 2013-12-23

Boolean as parameter

I can't find a way to use a parameter as a boolean.
The datatype available are :
java.lang.String
java.lang.Integer
java.lang.Long
java.math.BigDecimal
java.lang.Float
java.lang.Double

This feature is mandatory for me because one of the parameter in my report are boolean.

Am I missing something or this feature is not yet available ?

Jean-Marie

Offline

#2 2013-12-23 18:36:37

Arno Mittelbach
datenwerke
Registered: 2012-02-14

Re: Boolean as parameter

Hi Jean-Marie,

you are right. We simply did not yet come accross this requirement yet. We have now added Boolean to the list of allowed types and it
will be included in the next release which should be out before next year.

Arno

Offline

#3 2013-12-23 21:37:28

Thorsten J. Krause
Guest

Re: Boolean as parameter

Hi,

ReportServer Version 2.1.4, which contains Boolean-typed report parameters is now available for download from our sourceforge page (http://dw-rs.sf.net/)

Cheers,
Thorsten

#4 2014-01-02 08:54:53

jeanmarre
Member
Registered: 2013-12-23

Re: Boolean as parameter

Hi,

Thank you for your quick solution.

Jean-Marie

Offline

#5 2014-01-02 09:04:33

jeanmarre
Member
Registered: 2013-12-23

Re: Boolean as parameter

Hi,

I've just installed the 2.1.4 version. I can now use boolean parameter but I would like to know if it would be possible to use a checkbox for true/false instead of setting the text ?

Jean-Marie

Offline

#6 2014-01-03 15:24:42

Thorsten J. Krause
Guest

Re: Boolean as parameter

Hi,

for now, to have a boolean parameter displayed as checkboxes you can use a datasource parameter of type boolean with an appropriate dummy query. We will probably add an easier way to this later.

Cheers,
Thorsten

Board footer

Powered by FluxBB