Console visualforce page record hyperlink not opening new console tab

  • 1
  • Question
  • Updated 2 years ago
  • Answered
  • (Edited)
We have the standard Account page layout which we are opening from Service Cloud Console, the Account page layout has a Skuid visualforce page embedded.
Page loads fine and includes a table of related cases, though when we click the Case Number it opens in itself, rather than a new console tab. If we open a case from standard related list, it pops out into new tab and sits under account. Skuid visualforce page code: <apex:page action="{!redirect}&page=InternalAccountDetail" extensions="skuid.Redirects" standardController="Account"> 
</apex:page>
Photo of Dan B

Dan B

  • 442 Points 250 badge 2x thumb

Posted 2 years ago

  • 1
Photo of Karen Waldschmitt

Karen Waldschmitt, Official Rep

  • 8,240 Points 5k badge 2x thumb
Dan~

In the Skuid page itself, try using a template field with something similar to this: <a href="/{{{Id}}}"target="_blank">{{{Name}}}</a> and see if it opens the record in a new window or not.

Thanks!
Karen
Photo of Dan B

Dan B

  • 442 Points 250 badge 2x thumb
Hi Karen

Thanks though I can't get this to work. Added template field but shows some HTML, sometimes kind of works. Tried Allow HTML. Also I took a curly bracket off each which showed the value.

With this:
<a href="/{{Id}}"target="_blank">{{Name}}</a>

I get this on the preview:
5002400000XHIFcAAP"target="_blank">

Which is a hyperlink with following link when hovering:
https://mycompany--skuid.eu5.visual.force.com/%3Cspan%20class=

Dan
Photo of Rob Hatch

Rob Hatch, Official Rep

  • 44,006 Points 20k badge 2x thumb