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

Notification

Icon
Error

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

Rank: Newbie

Groups: Registered
Joined: 12/20/2017(UTC)
Posts: 2
United States
Location: Indiana

Thanks: 1 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?

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

Rank: Administration

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

Thanks: 7 times
Was thanked: 59 time(s) in 58 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
Guest (3)
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.

Powered by YAF 2.0.0 | YAF © 2003-2018, Yet Another Forum.NET
This page was generated in 0.080 seconds.