function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
CharlieLangCharlieLang 

Service Cloud - srcUp issue page not displaying

Hi, in service cloud i have the below code. when i am using it in normal sales cloud it works fine so i know the link works. When i am uisng it in service cloud its opening a new tab (correct behaviour) but the link isn't working, i'm just getting a blank tab which has "external page" as the tab name. Can anyone shed some light on why this is happening?
{!requireScript("/soap/ajax/33.0/connection.js")}
{!requireScript("/soap/ajax/33.0/apex.js")}

// It will execute if the Button/Link will be clicked from with in Service Cloud Console
if (typeof(srcUp) == 'function') {
   srcUp('http://www.192.com');
}
// It will execute if the Button/Link will be clicked from normal Salesforce UI
else{
   window.open('http://www.192.com');
}

 
NagendraNagendra (Salesforce Developers) 
Hi Charlie,

Here are few links which might help you.
  • http://salesforce.stackexchange.com/questions/34427/can-we-use-a-visualforce-page-as-a-tab-in-service-console/34444#34444
  • http://salesforce.stackexchange.com/questions/34533/opening-a-link-in-sales-and-service-cloud
  • https://success.salesforce.com/answers?id=90630000000gzYQAAY
Hope this helps.

Best Regards,
Nagendra.P