Find your content:

Search form

You are here

Opening a link in Sales and Service cloud

 
Share

We are showing an inline VF page on the Account detail page. In that VF page, we are showing certain links. Those links open in new tab in the browser.

<apex:outputlink value="/{!m.id}" target="_blank" >{!m.name}</apex:outputlink>

Everything works fine and as expected but when we open the same Account page in Service Console then it doesn't open the link inside service console instead it opens a new tab in the browser itself. We want to open it inside service console.

So basically I am looking for something which will work in both cases. How can I do that?

Any thoughts?


Attribution to: doga

Possible Suggestion/Solution #1

Instead you can use:

<apex:outputlink value="/{!m.id}" >{!m.name}</apex:outputlink>

if it doesn't work use:

<apex:outputlink value="/{!m.id}" target="_self" >{!m.name}</apex:outputlink>

Update:

Look at the following answer it contains required information. Salesforce console integration toolkit would help in this :-

Can we use a visualforce page as a tab in service Console?


Attribution to: Ashwani
This content is remixed from stackoverflow or stackexchange. Please visit https://salesforce.stackexchange.com/questions/34533

My Block Status

My Block Content