You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now i generate JasperReport using dynamic parameter, which we need to pass the parameter before run the file inside JasperSoft.
Therefore my current use case, i want to get the variable date using python, and pass the variable into the file before run the file inside python.
/> </field> </subDataset> <parameter name="dateFilter" class="java.util.Date"/> <parameter name="Parameter1" class="java.lang.String"/> <queryString> <![CDATA[select * from sampleData where created_at >= $P{dateFilter} ]]>
how i can declare the variable "dateFilter" in python and pass the parameter into the script?
and is there any documentation how to run the jasper file with parameter using python.
thank you
The text was updated successfully, but these errors were encountered:
No support for type java.util.Date passed as a parameter by the library. I advise passing it as a string and performing the conversion within the report until we implement typing for Date and DateTime
We have released version 2.1.4, which implements data typing for parameters sent to the reports. Please try using the new version and let us know about your experience.
Right now i generate JasperReport using dynamic parameter, which we need to pass the parameter before run the file inside JasperSoft.
Therefore my current use case, i want to get the variable date using python, and pass the variable into the file before run the file inside python.
/> </field> </subDataset> <parameter name="dateFilter" class="java.util.Date"/> <parameter name="Parameter1" class="java.lang.String"/> <queryString> <![CDATA[select * from sampleData where created_at >= $P{dateFilter} ]]>
how i can declare the variable "dateFilter" in python and pass the parameter into the script?
and is there any documentation how to run the jasper file with parameter using python.
thank you
The text was updated successfully, but these errors were encountered: