CMDBuild Forum

Use parameters in Jasperreport

Hi,

 

I need to generate a report and I need that when I generate the report, CMDBuild ask me a parameter (through a dropdown). I want CMDBuild show the field Description from a class in this dropdown. I have thought to create a PostgreSQL function that recieves the parameter. Then call the function with SELECT * FROM function_name(...). My problem is that I don't know how to create the SELECT and the head of the funcion (i mean: CREATE OR REPLACE FUNCTION function_name (...)   returns... )

 

Thanks in advance,

Marcos

Maybe you can find some help here:

http://www.cmdbuild.org/forum/forum-in-english/61456078

CMDBuild Team

Now I don't know how to use the "name.class.attribute". I mean, I have a class named "Sistem" and I want the Description attribute as the parameter. How do I change "name.class.attribute" to work?
 
Thanks in advance,
Marcos
 
Previously Tecnoteca wrote:
Maybe you can find some help here:

http://www.cmdbuild.org/forum/forum-in-english/61456078

CMDBuild Team