Questions tagged [consoleintegrationtoolkit]

Questions about the JavaScript toolkit for building integrations with the Salesforce Console.

Filter by
Sorted by
Tagged with
1
vote
0answers
18 views

Problems with Salesforce Console Integration Toolkit

My package has a VisualForce page that is used in the OpenCTI Softphone that includes <apex:includeScript value="/support/console/45.0/integration.js"/> I use it for opening records and open ...
0
votes
0answers
14 views

sforce.console.getPageInfo() is returning the details of the previous VF page in Service Cloud Console

We are currently facing an issue with the sforce.console.getPageInfo() function. We have a bunch of buttons that use VF page for the create record form. When a record is saved successfully, the page ...
0
votes
0answers
26 views

Inconsistent behavior of console integration toolkit methods in lightning and classic consoles

I have three VF pages: TabulisedPage,OverridingPage and FinalPage. VF page :TabulisedPage <apex:page > <apex:includeScript value="/support/console/42.0/integration.js"/> <A HREF=...
2
votes
1answer
202 views

window.postMessage does not work in lightning console app. Any workaround?

We have an flexipage/app which have 5 lightning components on it. Out of these 5, 3 are lightning component and 2 are visual force pages embedded inside lightning component. I went through https://...
0
votes
1answer
267 views

How to open console tab from within a visualforce on a page layout?

Classic console. The visualforce page renders a single button that passes an valueto another visualforce page to launch an existing process that the client does not want to be modified. This code ...
0
votes
0answers
35 views

Service Console - update tab's pageInfo after redirect

Suppose I have page PageA opened in a Salesforce Classic console tab. Then I use a controller method to redirect to PageB: public PageReference redirect(){ return new PageReference('/apex/PageB');...
5
votes
1answer
542 views

Can Lightning WorkspaceAPI be used to Open tabs in Visualforce Pages?

Can Lightning WorkspaceAPI be used to Open tabs in Visualforce Pages? I have a custom console app that incorporates the integration toolkit function for opening tabs/subtabs involving multiple ...
1
vote
1answer
243 views

OpenPrimaryTab fails with salesforce.com URL

I'm trying to use the console integration in a visualforce page and just tested the URL 'https://www.salesforce.com' using the example from 'https://resources.docs.salesforce.com/210/latest/en-us/sfdc/...
0
votes
1answer
336 views

Understanding opensubtab functionality along with javascript

I am trying to implement opensubtab functionality. Below is my code: <apex:page id="pg" controller="testSetRedirect"> <apex:includeScript value="/support/console/41.0/integration.js"/> &...
0
votes
0answers
211 views

how can lightning components in a console communicate with each other

We want to migrate / update our Classic Service Cloud console to a lightning console. We have quite a lot of visualforce pages in our current (classic) console that communicate with each other through ...
1
vote
1answer
367 views

Issues with opensubtab functionality.

I am trying to open a VF page as a subtab through a commandButton opensubtab in the VF page ParentVF. While the subtab opens for the first time, but if the opened subtab is cancelled/closed and the ...
0
votes
0answers
68 views

Subtype in console overrides existing subtab

I have the clone button on case(overriden the standard clone button) which opens a cloned case as a subtab in console.However when the clone button is clicked on the newly created case a new subtab ...
0
votes
1answer
17 views

Service Cloud Development what method to get the

How can I get the ID of the record regardless of the type of tab that is displaying a custom button. For example at the minute I have a button on an Order object that gets the ID like so: {!...
0
votes
1answer
2k views

How open new tab in lightning console applications?

We are using lightning console applications. I override the detail page of Leads with a custom visualforce page. It is having several links. If I click on any of them, it has to open in a primary tab. ...
0
votes
0answers
55 views

Can I call Console Integration Toolkit Functions from an Object Specific Quick Action?

I am currently working on a service console feature where I want to embed a Lightning component in a Visualforce page using the Lightning Out library. I need to pass a case record id to the Lightning ...
0
votes
1answer
22 views

Console API - Sidebars IDs

We're trying to show/hide some console sidebars components. Looking through the documentation, we found the following method signature: sforce.console.setSidebarVisible( visible:Boolean, (optional)...
0
votes
1answer
279 views

how to write lightning Component for JavaScript Button which contains sforce.Console.openSubtab() functionality?

we are having JavaScript Button in salesforce classic that contains functionality of {!requireScript("/soap/ajax/31.0/connection.js")} {!requireScript("/support/console/31.0/integration.js")} {!...
0
votes
1answer
229 views

Bottom bar in service console

I have added a Bottom bar (visual force Page) to the contact layout in service console. I need to minimize this bottom bar conditionally in the VF page.
0
votes
1answer
38 views

Issue with Integration Toolkit setSidebarVisibile

I am trying to run the following script in my Visualforce Page in my Developer Org: <apex:page controller="SidebarTestController"> <!--<apex:includeScript loadOnReady="true" value="/soap/...
2
votes
1answer
162 views

Problem Hiding Sidebar using JavaScript

In my Developer Org, I am trying to use the code pertaining to displaying and hiding the Sidebar located here. This is my code (not too much different): <apex:page > <apex:includeScript ...
2
votes
1answer
410 views

isInConsole() Showing False in embedded VF Page

Long Story short no matter what i do i cannot make this salesforce method work. Please help me shine some light on what i am doing wrong so i can work on creating subtabs from an Account page inside ...
1
vote
1answer
405 views

Issue in console event listener

I have recently enabled omnichannel in our org. I need to perform some action when an agent accepts a post from the omnichannel widget in the console. To do this I added a hidden custom console ...
0
votes
1answer
86 views

Help with Salesforce Console Integration Toolkit: focusing sidebar component tab from different tab in same component

Does anyone have experience with the Salesforce Console Integration Toolkit, specifically the focusSidebarComponent() function. I have a few different VF pages displayed in the sidebar (CustomerKb (id=...
1
vote
1answer
198 views

Custom Javascript Button Issue (Not throwing error)

I have a custom javascript button which has to check for a value in custom field on an object record and has to perform the functionality. In this case, if the field value is not null, it has to ...
1
vote
1answer
1k views

Close Tab automatically in Service Cloud Console

I have a script which opens a new page in a new sub-tab on the Service Cloud Console, and another one that closes that same new page once it's done loading. It works, but I need to click on the '< ...
3
votes
1answer
756 views

sforce.console.isInConsole() not working (returns false even in Console)

I am trying to navigate to a VF page on click of a (Formula field) field from list view. Now my requirement is to navigate to standard detail page of Site record when clicked from standard list view ...
0
votes
1answer
289 views

Salesforce - Console Integration Toolkit : openSubTab: Invalid ID: scc-st-0

I'm experiencing a weird js error while trying to run the openSubtab() salesforce console integration API method. This is my method call : sforce.console.openSubtab(ctiTabId, theURL,true,'{!Case....
0
votes
1answer
541 views

openPrimaryTab function does not work

I used the visualforce example here This however gives the code: <apex:includeScript value="/support/console/37.0/integration.js"/> <script type="text/javascript"> function ...
0
votes
1answer
251 views

sforce.console.refreshPrimaryTabById() is not refreshing tab within managed package

I have my own released managed package which is installed on dev environment. I have created VF page on this environment and included Visualforce component from managed package there. The VF component ...
2
votes
0answers
377 views

sforce.console.refreshPrimaryTabById is not refreshing feed publisher

have developed a VF form and put it in a quick action & assigned it to case page layout. I am refreshing the current case tab by using console integration toolkit at submit button's oncomplete ...
1
vote
0answers
276 views

Hiding Live Agent widget in Service Console

I have created a custom console component to use for Live Agent, using the Salesforce Console Integration Toolkit Developer Guide. I have added it to my console. It is working fine. Now that I am ...
3
votes
2answers
551 views

Console method to get selected tab on VF page

I've custom console component(simple VF page) created for console app. I can grab the case id based on the tab selection but its not working for the very first time the page loads. When I select the ...
0
votes
1answer
240 views

Console Integration Toolkit: OnCallbegin() does not fire

I am following this guide: https://developer.salesforce.com/docs/atlas.en-us.api_console.meta/api_console/sforce_api_console_oncallbegin.htm I have added the sample script to a vf console component ...
1
vote
0answers
82 views

How to use the console integration toolkit to determine if user is chat capable?

We have a custom button that uses the console integration toolkit's sforce.console.chat.getDetailsByPrimaryTabId method to determine if the button is being clicked in the context of a chat, or not. ...
1
vote
0answers
1k views

Primary Tab refreshes in console and Sub tab (VF page) reopens again after Refresh

I have an issue. My requirement is this, I have a VF page which opens from a custom button located on a Case Detail page. The VF Page has a CommandLink and a CommandButton which performs certain ...
1
vote
2answers
2k views

Refresh the whole service console from visualforce page

I want to refresh the entire service console on clicking of the save button on the visual force page. The button is an inline visual force page. Any ideas? <apex:includeScript value="/soap/ajax/26....
1
vote
1answer
118 views

Is there a unique session ID for a primary tab in Service Console?

I am trying to implement an account verification module and there are requirements to not verify a customer when they are reopened under the same primary tab (and they have already been verified). I ...
1
vote
1answer
487 views

Custom, dynamic highlight panel

I am attempting to create a custom highlight panel. What I ultimately need to do is on the focus of a subtab, I need an event to fire and send information to the highlight panel. The highlight panel ...
0
votes
1answer
2k views

getEnclosingPrimaryTabId: Cannot get workspace from frameId: ext-comp-1017

Im trying to refresh the primaryTAB after Subtab close, and getting error " getEnclosingPrimaryTabId: Cannot get workspace from frameId: ext-comp-1017 ServiceDesk.js:304 refreshPrimaryTabById: Invalid ...
0
votes
1answer
917 views

How to define id:String in Console..im getting openPrimaryTab: Invalid ID:

How to define id:String in sforce.console.openPrimaryTab instead of null in salesforce? Here is the code that using, and i am getting openPrimaryTab: Invalid ID: error. any suggestions? function ...
0
votes
1answer
670 views

Service cloud console auto close Primary Tab after 5 sec

I have a visualforce page section in service cloud console, section has VF buttons which opens the PrimaryTab. I want to auto close the newly opened PrimaryTab after 5 sec, is it possible add timer ...
1
vote
1answer
297 views

Salesforce Console event not sent successfully when reloading page

I'm working in the Salesforce Service Console with the console integration toolkit. This allows us to fire (HTML5) events with the sforce.console.fireEvent() command. I firing an event from one ...
0
votes
1answer
1k views

Salesforce Console: How can you get subtab ID by its name?

I'm hoping to override/refresh a particular subtab if it already exists, or open it as a new subtab if it doesn't exist yet. However I can't seem to find a way to get subtabs by name. The console ...
1
vote
2answers
5k views

Get Object Id of the currently open primary tab on a custom console component through apex controller

I have a custom console component on which I want to display the details of the active primary tab (e.g. Id, Name, Email, CaseNumber etc), which can be a case details or contact details depending on ...
1
vote
1answer
55 views

Can a custom console component modify standard pages?

Is it possible to use a custom console component to alter standard pages, much like the old ways of inserting javascript through home page components?
1
vote
0answers
358 views

Visualforce and Console Integration Toolkit results in Cross-Origin Framing error

I'm working on an App-level console component that has links in it. Those links should open new tabs (preferably in the console layout, but a new browser tab works as well) not on the Salesforce ...