Jump to content
We've recently updated our Privacy Statement, available here ×

Remove/delete available parameters?


kburns

Recommended Posts

Hi all -

I am using iReport Designer Pro 4.0 and wondering how to remove/delete an available parameter created in the report query dialogue window.

Is this possible?

Right now I am experimenting with iReports and have created a bunch of test parameters. I can easily dump my report and start over, but I'd like to know if I am capable of removing these.

If not, I think it would be a really handy and useful feature.

Thanks!

 

kb

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

I see the parameter definition in my jrxml file...

 

<parameter name="brief4" class="java.lang.String">

<defaultValueExpression><![CDATA[brief4]]></defaultValueExpression>

</parameter>

 

But no way to remove it via ireports?

 

There must be a away to do this right? I don't think a user should be expected to edit an xml file each time they need to remove a parameter from a report.

Link to comment
Share on other sites

Deleting parameters from a report should be pretty much the reverse process of how you created them:  If you have the Report Inspector pane open, expand the part of the tree that says "Parameters".  You should see all your parameters there (several system defined ones first, followed by the user-defined parameters).  Just right-click on one of the user-defined parameters and choose "Delete".  In fact, I think you can select multiple parameters at one time using Ctrl-left-click.  Then when they're all selected, use right-click to bring up the context-sensitive menu, and choose "Delete."

That should be all you have to do if the report is only being run from within iReport.  If you have already deployed the report to JasperReports Server and create input controls for those parameters, then you'll want to delete the corresponding input controls as well.

Carl

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...