You need to sign in to do that
Don't have an account?
Aaron Persich 15
How to fix a visualforce and flow redirect error Invalid Page Redirect – Flow and visual force
Hello,
I have created a “Marketing Request” object and am trying to create a simple tab which when selected it will populate a visualforce flow with a form to fill out. When the form is completed then it will create a Marketing Request record. I am trying to redirect the user to the newly created record but I keep getting this error when I test it.
Invalid Page Redirection
The page you attempted to access has been blocked due to a redirection to an outside website or an improperly coded link or button. Please contact your salesforce.com Administrator for assistance. For more information, see Insufficient Privileges Errors.
Click here to return to the previous page.
Any help is much appreciated.
Thanks,
Aaron
I have created a “Marketing Request” object and am trying to create a simple tab which when selected it will populate a visualforce flow with a form to fill out. When the form is completed then it will create a Marketing Request record. I am trying to redirect the user to the newly created record but I keep getting this error when I test it.
Invalid Page Redirection
The page you attempted to access has been blocked due to a redirection to an outside website or an improperly coded link or button. Please contact your salesforce.com Administrator for assistance. For more information, see Insufficient Privileges Errors.
Click here to return to the previous page.
<apex:page standardController="Marketing_Request__c" Showchat="False" showheader="True" standardStylesheets="True"> <flow:interview name="Marketing_Flow" finishLocation="/{!$CurrentPage.parameters.id}"> <apex:param name="varMarketingID" value="{!Marketing_Request__c.Id}"/> </flow:interview> </apex:page>
Any help is much appreciated.
Thanks,
Aaron