You need to sign in to do that
Don't have an account?
Mohsin.Raza
Service cloud console getTabLink issues
Hi,
I am integrating against salesforce Console Intergration API on my visual force page and I am encountering below issues.
1. sforce.console.getTabLink with sforce.console.TabLink.PARENT_AND_CHILDREN option fails when 'New Tab' option is open and waiting for user to enter any URL. See the error below from borwser console.
getTabLink: Cannot read property 'toLowerCase' of null main.js:391
TypeError: Cannot read property 'toLowerCase' of null method: getTabLink arguments: {"nonce":"ab9a518261b3a8396d57b1e1e5f3e9a83fbe59f83e6a3d90ff83106bc0ccc4db","version":"30.0","level":"complete","tabId":"scc-pt-0"} userAgent:Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.7 Safari/537.36
at Object.Sfdc.support.servicedesk.checkWhiteList (https://eu5.salesforce.com/jslibrary/1459985950000/sfdc/ServiceDesk.js:331:58)
at Object.Sfdc.support.servicedesk.stripDomainAndConsoleParamsFromLink (https://eu5.salesforce.com/jslibrary/1459985950000/sfdc/ServiceDesk.js:324:215)
at Object.Sfdc.support.servicedesk.generateConsoleTabLink (https://eu5.salesforce.com/jslibrary/1459985950000/sfdc/ServiceDesk.js:328:442)
at Object.getLink (https://eu5.salesforce.com/jslibrary/1459985950000/sfdc/ServiceDesk.js:433:490)
at Object.getTabLink (https://eu5.salesforce.com/jslibrary/1459985950000/sfdc/ServiceDesk.js:520:205)
at Object.accept (https://eu5.salesforce.com/support/console/xdomain/30.0/xdomain.js:4:32)
at a (https://eu5.salesforce.com/support/console/xdomain/30.0/xdomain.js:13:397)log @ main.js:391
(anonymous function) @ main.js:381
log @ main.js:389
b.resolve.b.provide.a.log @ main.js:388
(anonymous function) @ main.js:388
(anonymous function) @ main.js:354
h @ ServiceDesk.js:416
getTabLink @ ServiceDesk.js:520
accept @ xdomain.js:4
a @ xdomain.js:13
ServiceDesk.js:339
2. sforce.console.getTabLink with sforce.console.TabLink.TAB_ONLY option does not work when all the tabs are open in a seperate workspace by clicking 'Pop out primary tabs'. The response received on the call back function is 'Object {success: false}'.
I am integrating against salesforce Console Intergration API on my visual force page and I am encountering below issues.
1. sforce.console.getTabLink with sforce.console.TabLink.PARENT_AND_CHILDREN option fails when 'New Tab' option is open and waiting for user to enter any URL. See the error below from borwser console.
getTabLink: Cannot read property 'toLowerCase' of null main.js:391
TypeError: Cannot read property 'toLowerCase' of null method: getTabLink arguments: {"nonce":"ab9a518261b3a8396d57b1e1e5f3e9a83fbe59f83e6a3d90ff83106bc0ccc4db","version":"30.0","level":"complete","tabId":"scc-pt-0"} userAgent:Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.7 Safari/537.36
at Object.Sfdc.support.servicedesk.checkWhiteList (https://eu5.salesforce.com/jslibrary/1459985950000/sfdc/ServiceDesk.js:331:58)
at Object.Sfdc.support.servicedesk.stripDomainAndConsoleParamsFromLink (https://eu5.salesforce.com/jslibrary/1459985950000/sfdc/ServiceDesk.js:324:215)
at Object.Sfdc.support.servicedesk.generateConsoleTabLink (https://eu5.salesforce.com/jslibrary/1459985950000/sfdc/ServiceDesk.js:328:442)
at Object.getLink (https://eu5.salesforce.com/jslibrary/1459985950000/sfdc/ServiceDesk.js:433:490)
at Object.getTabLink (https://eu5.salesforce.com/jslibrary/1459985950000/sfdc/ServiceDesk.js:520:205)
at Object.accept (https://eu5.salesforce.com/support/console/xdomain/30.0/xdomain.js:4:32)
at a (https://eu5.salesforce.com/support/console/xdomain/30.0/xdomain.js:13:397)log @ main.js:391
(anonymous function) @ main.js:381
log @ main.js:389
b.resolve.b.provide.a.log @ main.js:388
(anonymous function) @ main.js:388
(anonymous function) @ main.js:354
h @ ServiceDesk.js:416
getTabLink @ ServiceDesk.js:520
accept @ xdomain.js:4
a @ xdomain.js:13
ServiceDesk.js:339
2. sforce.console.getTabLink with sforce.console.TabLink.TAB_ONLY option does not work when all the tabs are open in a seperate workspace by clicking 'Pop out primary tabs'. The response received on the call back function is 'Object {success: false}'.