Seal Report Forum
»
Report Edition
»
Reports
»
Can I pass a parameter into the report without prompting?
Rank: Newbie
Groups: Registered
Joined: 12/20/2017(UTC) Posts: 7 Location: Indiana Thanks: 2 times
|
I am trying to pass a parameter into my report to limit the data returned. I would like to pass it in from my application but not prompt the user since I don't want it to be changed.
Here are the restriction settings from the report designer:
Name: property_name Operator: Value Only Prompt restriction: No prompt Is required: True … Operator Label: = … Use as parameter: True
From my application form that I use to call the report:
<input type="hidden" name="r0_name" value="property_name" /> <input type="hidden" name="r0_operator" value="Equal" /> <input type="hidden" name="r0_value_1" value="Property Value" />
Is there a way to pass in the parameter and have it restrict the data without prompting?
|
|
|
|
Rank: Administration
Groups: Administrators
Joined: 12/20/2013(UTC) Posts: 1,209 Thanks: 14 times Was thanked: 206 time(s) in 199 post(s)
|
I think it is not possible to change the restriction not prompted from the Web interface...at least for security reason. Could be a feature request: Add a flag on the restriction or on the report to allow value overwrite.
You may try to play with the Init Script of the report (but I am not sure it will work): Set your restriction as To be Prompted, and in the Init Script,change it to not prompted...may be it will work.
To edit the Init Script: Click on the root 'Views' node in the tree view and edit the related property.
|
1 user thanked epf for this useful post.
|
|
|
Seal Report Forum
»
Report Edition
»
Reports
»
Can I pass a parameter into the report without prompting?
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.