Skip to main content
Nintex Community Menu Bar
Solved

Skuid and SF Console Integration Toolkit

  • July 11, 2024
  • 2 replies
  • 67 views

Forum|alt.badge.img+1

I have a visualforce page using skuid:page
Inside the skuid I have a snippet with a method (openPrimaryTab()) that in the lightning salesforce console only works on API versions above 42.
I have tried using
<apex:includeScript value=“/support/console/50.0/integration.js”/>
and

but they do not work.
So, my question is, how do you integrate a Skuid page with the SF Console Integration Toolkit??

Best answer by Rob_Hatch

Here is an example from our Demo org. You call the integration toolkit by referencing the library as an external location type javascript resource.

Once you have referenced the toolkit this way - all its methods will be availble for use in your snippets. For example:

sforce.console.openPrimaryTab(null,

url, true, tabTitle,function(result){

if(!result.success){

 sforce.console.focusPrimaryTabByName(tabName);

}

},tabName);

2 replies

Forum|alt.badge.img+17
  • Nintex Employee
  • Answer
  • July 12, 2024

Here is an example from our Demo org. You call the integration toolkit by referencing the library as an external location type javascript resource.

Once you have referenced the toolkit this way - all its methods will be availble for use in your snippets. For example:

sforce.console.openPrimaryTab(null,

url, true, tabTitle,function(result){

if(!result.success){

 sforce.console.focusPrimaryTabByName(tabName);

}

},tabName);


Forum|alt.badge.img+1
  • Author
  • July 12, 2024

Thanks for your help Rob, this solution worked for me.