Archived and Closed
This conversation is no longer open for comments or replies and is no longer visible to community members. The community moderator provided the following reason for archiving: Problem resolved with Rockaway Point Release Iteration 6
<apex:page standardController="Opportunity" action="{!redirect}&actiontype=Edit&objecttype=Opportunity" extensions="skuid.Redirects"/>However, when someone clicks the Edit button on the old layout, they receive the following error instead of going to the standard SFDC edit page - regardless of whether they have the page assignment or not:
"The link you followed wasn't valid for your session. Return to the previous page, refresh it and try again."What have we missed in the set up to allow us to enable the Edit override again?
-
2,266 Points
Posted 4 years ago
Zach McElrath, Employee
-
54,326 Points
-
946 Points
https://skuid.na45.visual.force.com/apex/UI?_CONFIRMATIONTOKEN=VmpFPSxNakF4Tmkwd05pMHdPVlF4TnpvMU1qb3dOUzR5TkRSYSxSUGdQM0FmZ0FjWE5ERF90U2FTNDYtLFpqZzNZVGM1&id=0063A000013iIUK&retURL=%2F0063A000013iIUKQA2%3Fid%3D0063A000013iIUKQA2%26nooverride%3D1&scontrolCaching=1&sfdc.override=1&actiontype=Edit&objecttype=Opportunity

Zach McElrath, Employee
-
54,326 Points
This looks like a bug introduced by Salesforce's Summer 16 release - we'll work to get this resolved ASAP.
In the meantime, there is an easy workaround --- change the Visualforce Override page for the Opportunity Edit action to be the following instead, using the "Component" override method:
<apex:page standardController="Opportunity" tabStyle="Opportunity" title="Edit {!$ObjectType.Opportunity.label}: {!Opportunity.Name}"
extensions="skuid.Redirects" action="{!IF(canUseSkuid,'',redirect)}"
sidebar="false" readOnly="true" docType="html-5.0">
<skuid:page objecttype="Opportunity" actiontype="Edit"/>
</apex:page>
When the bug is resolved we'll let you know and you can go back to the former syntax.
-
946 Points

Zach McElrath, Employee
-
54,326 Points
-
946 Points
-
946 Points
-
946 Points
I'm trying to override the standard Edit button on the Opportunity Object using page assignments (we need some people to be redirected to the skuid page and some to be redirected to the standard page).
The VF Markup I'm using is:
<apex:page standardController="Opportunity" action="{!redirect}&actiontype=Edit&objecttype=Opportunity" extensions="skuid.Redirects"/>
Users with the page assignment are redirected to the Skuid page correctly, but for people without the page assignment, they get the error attached.
Any idea what's going on?

Zach McElrath, Employee
-
54,326 Points
Karen Waldschmitt, Official Rep
-
9,082 Points
This issue has been resolved in Rockaway Point Release - Iteration 6 and is now available from the Skuid Releases page: http://www.skuidify.com/skuidreleases.
Thanks!
Karen
This conversation is no longer open for comments or replies.
This conversation is no longer open for comments or replies.