Opportunity Redirect Page not working

  • 1
  • Problem
  • Updated 3 years ago
  • (Edited)
Here's my apex code, copied from the Account redirect page which works fine:
<apex:page standardController="Opportunity" action="{!redirect}&actiontype=View&objecttype=Opportunity" extensions="skuid.Redirects"/>

It's not a page assignment issue, it just doesn't even try to do any kind of redirection when you look at an opportunity. 

Like for Accounts we see in the URL: /001E000001BBgso?nooverride=1&sfdc.override=1
But for opportunities it's still just /006E000000WHJq7
Photo of Jack Sanford

Jack Sanford, Champion

  • 8,322 Points 5k badge 2x thumb

Posted 3 years ago

  • 1
Photo of Rob Hatch

Rob Hatch, Official Rep

  • 44,006 Points 20k badge 2x thumb
Did you set up the override in  setup - customize - opportunity - buttons and links - view?   Or is the standard view still in place there. 

Hopefully thats not too much of a "doh" answer... 
Photo of Jack Sanford

Jack Sanford, Champion

  • 8,322 Points 5k badge 2x thumb
Ha, that is exactly what I did not do. Thanks!
Photo of Rob Hatch

Rob Hatch, Official Rep

  • 44,006 Points 20k badge 2x thumb
Glad it was that simple.