Welcome Guest! To enable all features please Login or Register.



Go to last post Go to first unread
#1 Posted : Wednesday, February 7, 2018 9:42:23 PM(UTC)

Rank: Newbie

Groups: Registered
Joined: 12/20/2017(UTC)
Posts: 7
United States
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?

#2 Posted : Friday, February 9, 2018 6:43:49 AM(UTC)

Rank: Administration

Groups: Administrators
Joined: 12/20/2013(UTC)
Posts: 584

Thanks: 8 times
Was thanked: 85 time(s) in 82 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.
thanks 1 user thanked epf for this useful post.
MrMiles on 2/12/2018(UTC)
Users browsing this topic
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.