13 votes
Accepted

Confused: Lightning Service Console only for Salesforce Classic?

I believe you've stumbled into a web of overloaded terminology and recent release changes. Here's a bit of history of the console naming and current state of affairs that I hope clears it up. Before ...
Paul H.'s user avatar
  • 1,338
7 votes
Accepted

Automatically associate chat transcript to case and account

When manually creating the Case in a console component instead of letting Salesforce create the Case automatically via pre-chat or deployment API then you will need to use an apex trigger on the ...
Doug Ayers's user avatar
  • 4,156
7 votes

what is difference between caseteams and queues?

A case team is simply a group of individuals working on a case; there are multiple people involved in the resolution of the case. For example, a case might need a service tech to take care of the ...
sfdcfox's user avatar
  • 481k
6 votes
Accepted

Service Cloud - Free developer edition - Where do I find?

You can follow below steps Go to Setup -> Apps -> New Select Console app type Add tabs for console app. Select Profile whom you want to make that visible App will be available in app menu
Himanshu's user avatar
  • 10.5k
6 votes
Accepted

Unit Testing a SOQL Method

It is a best practice to separate unit tests from functionality tests. If you run your method from trigger on contacts insert and you want to cover functionality, you can write some method like this ...
Patlatus's user avatar
  • 16.1k
5 votes
Accepted

Visualforce Page Error in Sidebar of Service Console

You simply need to change the standardController attribute on your <apex:page> tag to Case: <apex:page standardController="Case"> <!-- other markup --> </apex:page> If ...
Adrian Larson's user avatar
  • 149k
5 votes

Lightning tab label showing "Loading..." in Service Console (bug)

Put this line in Component. //in markup <lightning:workspaceAPI aura:id="workspace"/> In Component init: //Js Controller var workspaceAPI = component.find("workspace"); ...
Tjcool's user avatar
  • 151
4 votes
Accepted

Service Console: Record link on email templates causing error

Don't use apex:outputLink, but create a hardcoded link like this <a href="{!url}/{!relatedTo.Id}">Case Link</a> You're only using this VF for the email template, right? Then this should ...
Willem Mulder's user avatar
4 votes
Accepted

Case Send Email Quick Action

The issue was the "Email" quick action was not configured on the page layout of the user .Only those actions appear which are dragged on quick action area. Send Email - This is very specific to ...
Mohith Shrivastava's user avatar
4 votes
Accepted

Servicecloud Console, how to auto close subtabs on focus lost?

Tabs don't automatically close in the console when you leave them. Similar to a browser, you would need to manually close the tabs if you want them closed. However, you could do something like using ...
Paul H.'s user avatar
  • 1,338
4 votes
Accepted

Email2Case - Create new case on replies after X amount of days

I can tell you how we do this. We have a custom emailHandler that processes emails as they come in. Our email handler checks to see if the email relates to a closed case and re-opens it. It would be ...
gNerb's user avatar
  • 9,441
4 votes
Accepted

Open link as subtab in Console View and a new browser Tab otherwise

I like using jQuery on click listener to override navigation for the links based on context. Here is an example- <apex:page standardController="Case"> <!-- Placeholder for link --> ...
Raul's user avatar
  • 18.7k
4 votes

Is there any way we can pause milestones?

When you use Entitlement & Milestones, Case object will have an attribute called Stopped (API: IsStopped). You can make it as true to stop milestone. You can create workflow or trigger to stop ...
Santanu Boral's user avatar
4 votes
Accepted

Lightning QuickAction background color change

NOTE This is a hack and completely experimental, it may break between releases due to CSS class changes and works as of Spring 18. The background color is coming from a app.css class .cuf-scroller-...
Saroj Bera's user avatar
  • 14.6k
4 votes
Accepted

How to deal with caseTeamMember Trigger

As a workaround, You can create a custom VF page which will take input from the user to add the members to a case and use it as List button. In the controller, You can validate the details before ...
sanket kumar's user avatar
4 votes
Accepted

OpenSubtab throws error when embedding a VF page in lightning component

I found a way to do it. VF page: <a href="javascript:void(0);" onClick="openCustomSubtab('asdf', 'asdfg');return false;">OpenSubtab</a> Javascript : function openCustomSubtab(id, ...
Nagendra K S's user avatar
3 votes

How to remove Open CTI VF softphone page from salesforce left side

Call center users will always see the softphone in the Salesforce Classic UI. The only way to stop displaying the softphone on those pages is to remove the user from the call center. https://help....
Paul H.'s user avatar
  • 1,338
3 votes
Accepted

How to minimize execution time while executing a test class with bulk(200) insert and update

Test class execution time depends on below points: Logic by which you are preparing your data for test class. Triggers execution time when you create test data. Class logic for which you are doing ...
ashishcloud's user avatar
  • 1,050
3 votes
Accepted

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

The tab IDs are unique within a console, but not guaranteed to be the same if you close and reopen a tab or if you leave and re-enter the console. So you may have primary 'scc-pt-0' with a subtab '...
Paul H.'s user avatar
  • 1,338
3 votes
Accepted

How do I Call Methods in the Console Integration Toolkit from a Lightning Component?

Here is a small experiment as a proof of concept to emit events from lightning component and handle in VF <aura:component> <div> Hello World !!!! </div> <aura:registerEvent ...
Mohith Shrivastava's user avatar
3 votes
Accepted

Salesforce Email Quick action not shown in Case Feed View

Finally i found the Answer - We need to change "Email Deliverability" Settings to "All Emails" instead of System Emails or No Access.
Nirmallya Ghosh's user avatar
3 votes
Accepted

Lookup in URLFOR in Visualforce

You want to do: URLFOR($Action.Account.View, Case.Account.Id) The view action just tells what page to go to, so set it to the Account view page. Then use the Account Id from the Case to set which ...
martin's user avatar
  • 12.6k
3 votes
Accepted

How to find record Id in service console?

Click on triangle in right upper corner and click 'Get link to share'.
m_konyk's user avatar
  • 546
3 votes

Understanding opensubtab functionality along with javascript

The sforce.console.getEnclosingTabId method is asynchronous and the method you pass in as a parameter is termed a callback function. This behavior is clearly indicated in the documentation: This ...
Adrian Larson's user avatar
  • 149k
3 votes
Accepted

How to mock or configure lightning:workspaceAPI in Lightning Testing Service (LTS) tests?

I posted a reply with a couple of options for you to evaluate at, https://github.com/forcedotcom/LightningTestingService/issues/52 Edit: Copied below by Keith C as generally link-only posts are ...
Emad Salman's user avatar
3 votes

Lightning QuickAction background color change

You can also use the aura:html tag to achieve this. Works for API version > 42: <aura:html tag="style"> .cuf-scroller-outside { background-color: white; } </aura:html>
Vinod Rondla's user avatar
3 votes
Accepted

LWC: Invalid event type "WireContextEvent" dispatched in element

LWCs are not fully supported in the Console at the time. You will need to put your LWC in an Aura Component wrapper for it to work. See the LWC Developer Documentation for more on this. I would expect ...
crmprogdev's user avatar
  • 40.9k
2 votes

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

It sounds like what you're getting is the ID of the tab when what you really want is the ID of the object. For this you can use sforce.console.getFocusedPrimaryTabObjectId instead of sforce.console....
Albert James's user avatar
2 votes

Sforce.console.isInConsole Not working

I believe you have to include the javascript integration library to make this work as expected. <apex:includeScript value="/support/console/30.0/integration.js"/> Before Winter'16 it ...
Rune Waage's user avatar
2 votes

srcUp method functionality

Yes SrcUp can be used to open subtabs in service cloud console. here is an example of JS in button to open a VF page in console. {!REQUIRESCRIPT("/support/console/30.0/integration.js")} if(typeof(...
Nishant Singh Panwar's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible