Prompt Option in Parameter

Hi guys,

I have developed a report that lists Assignee details from xml. I now need to create a Parameter that will allow users to Select first the Individual assignee. How do we do this? I have created a Parameter called "Assignee" and has the "use as a Prompt" checked, when i run the report i still get the list of all Assignees despite specifying the Assignee @parameter prompt. Tnx in advance.
elijahchombo's picture
Joined: Feb 25 2008 - 9:02pm
Last seen: 15 years 7 months ago

6 Answers:

Prompt exist only for testing purposes with iReports. To create a prompt for the user you will have to create an external GUI or I believe that the Jasper Server project also gives you this functionality.
svenn's picture
15200
Joined: Mar 19 2007 - 5:57am
Last seen: 16 years 6 months ago
Thank you very much for the response.
elijahchombo's picture
Joined: Feb 25 2008 - 9:02pm
Last seen: 15 years 7 months ago

I have a iREPORT with a prompt for a parameter that works great in preview.  When I publish to jasperserver and run the report from jasperadmin, the report does not prompt.  Do I need to do something with the server to allow prompting?  Any ideas?

clshafer's picture
208
Joined: Mar 28 2012 - 4:47pm
Last seen: 9 years 6 months ago

Have you created input controls on the JasperReports Server side? If not, you will need to do that.

lisacbeaton's picture
Joined: Mar 27 2012 - 9:24am
Last seen: 9 years 5 months ago
No I haven't. I looked at it and did not know how to set up the input control. Also, having trouble locating the documentation on HOW to set it up. Can you point me to document that has the instructions or give me a quick reply with a how to? Thanks.
clshafer's picture
208
Joined: Mar 28 2012 - 4:47pm
Last seen: 9 years 6 months ago

 Hi  clshafer - you can find the documentation on setting up an input control in the user guide, which you can download from here -  http://jasperforge.org/espdocs/docsbrowse.php?id=87&type=docs&group_id=112&fid=365. It's a PDF, there's some instructions on page 49.

gdmoreno's picture
24674
Joined: Oct 26 2010 - 3:23pm
Last seen: 2 years 9 months ago
Feedback
randomness