You need to sign in to do that
Don't have an account?
Amy Thropp
Passing Report Parameters via URL
Hi all,
I have a visualforce page that uses a standard HTML form to get values from the account record, asks for input for an item # (custom field in quotelineitem) and calls a report, filling in the parameters. It works perfectly when I run it as an admin, but when running as a user, the parameter values drop out and one of the parameters dispappears completely. Here's the VF page:
<apex:page standardController="Account" >
<apex:pageblock >
Account: {!account.jde_account_number__c}<br/>
<form name = "GetItem" action="https://na28.salesforce.com/00O1A000006Y5gD" method="get" >
</apex:pageblock>
</apex:page>
Any ideas on why the parameters work OK when running as admin vs user?
Regards,
Amy Thropp
I have a visualforce page that uses a standard HTML form to get values from the account record, asks for input for an item # (custom field in quotelineitem) and calls a report, filling in the parameters. It works perfectly when I run it as an admin, but when running as a user, the parameter values drop out and one of the parameters dispappears completely. Here's the VF page:
<apex:page standardController="Account" >
<apex:pageblock >
Account: {!account.jde_account_number__c}<br/>
<form name = "GetItem" action="https://na28.salesforce.com/00O1A000006Y5gD" method="get" >
<p>Account #: <input size="5" name = "pv0" value = "{!account.JDE_Account_Number__c}"/></p>
<p>Item #: <input size="50" name="pv1" value=""/></p>
<p>Parent Account #: <input size="5" name = "pv2" value = "{!account.JDE_P__c}"/></p>
<p><input type="submit" value="Search Quotes" /></p>
</form><p>Item #: <input size="50" name="pv1" value=""/></p>
<p>Parent Account #: <input size="5" name = "pv2" value = "{!account.JDE_P__c}"/></p>
<p><input type="submit" value="Search Quotes" /></p>
</apex:pageblock>
</apex:page>
Any ideas on why the parameters work OK when running as admin vs user?
Regards,
Amy Thropp
Refer to this link:-
http://jessealtman.com/2013/08/passing-parameters-to-a-report-through-the-url/
Also check that the user has the permission to view the required parameters values by checking into the profile of that user as you are able to view the same when you login as a admin.
Thanks