Skuid and SF Console Integration Toolkit
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
<script src="/support/console/50.0/integration.js" type="text/javascript"></script>
but they do not work.
So, my question is, how do you integrate a Skuid page with the SF Console Integration Toolkit??
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
<script src="/support/console/50.0/integration.js" type="text/javascript"></script>
but they do not work.
So, my question is, how do you integrate a Skuid page with the SF Console Integration Toolkit??
Tagged:
0
Best Answer
-
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);
5
Answers
-
Thanks for your help Rob, this solution worked for me.0
Howdy, Stranger!
Categories
- 9.1K All Categories
- 8K Questions
- 928 Ideas
- 236 Discussion Categories
- 183 General
- 9 Community Feedback
- 5 Community Info
- 22 Knowledge Base