CMDBuild Forum

Dropdown parameter for custom reports

Hey,

I am using openmaint 1.1 with Jaspersoft Studio 6.4 to create my custom reports. I am unable to produce a report which is able to accept a dropdown parameter from the user (like the BarcodePrint report included with openmaint). The dropdown parameter refers to a class. 

The user should be able to select from the dropdown and a report is generated from that specific selection. 

 

 

thanks in advance

 

Hi,
to use drop-down lists connected to openmaint data you need to set a property for the parameter that you want to use. In particular you need to set targetClass=<className> where <className> is the name of the class/table for which you want to create the drop-down list. In the openmaint reports you'll see this property set for the reference parameters.
Regards,
 
CMDBuild Team
 
Previously Jameel wrote:

Hey,

I am using openmaint 1.1 with Jaspersoft Studio 6.4 to create my custom reports. I am unable to produce a report which is able to accept a dropdown parameter from the user (like the BarcodePrint report included with openmaint). The dropdown parameter refers to a class. 

The user should be able to select from the dropdown and a report is generated from that specific selection. 

 

 

thanks in advance