Hot answers tagged

8 votes
Accepted

View code in Managed package

Take a look at An Introduction to Packaging: Implications of Managed Packages on Source Code If someone installs a managed package, they don't get access to all the source code of that package. For ...
Adrian Larson's user avatar
  • 149k
6 votes
Accepted

sforce.console.openPrimaryTab has stopped working after upgrade to API 40.0 (Summer 2017)

This looks like an issue with Summer 17. I've been able to replicate it in a sandbox. After some "fun" debugging it, here's what I found. There is a call to /ui/support/servicedesk/servlet/...
Daniel Hoechst's user avatar
5 votes
Accepted

Docking lightning components to the bottom bar in Winter '17

Short answer - looks like it's something coming in future. Long answer: The FlexiPage object now includes a new type: UtilityBar value, which represents a Lightning Page used as the utility ...
Mark Keats's user avatar
  • 1,899
5 votes
Accepted

How can I make calls related to a case display in its Chatter feed?

You can do this in Apex if you fill out all the right fields. Task t = new task( WhatId = someCase.Id, // Case to log against CallObject = 'Call Center To Log To', // Gotten from CallCenter ...
sfdcfox's user avatar
  • 477k
4 votes
Accepted

Click To Dial fails after calling publish() in publisher.js

The issue seems to be due to the data in the MessageEvent being sent by the Salesforce InteractionFramework. The data in a successful MessageEvent should look something like this: interactionApi/...
JCotterell's user avatar
4 votes

Help for Open CTI

There are several ways of accomplishing this, that I can think of. A relatively simple way, would be to build an apex rest service that can be invoked by the phone service, which would, lets say, add ...
Suraj's user avatar
  • 186
4 votes
Accepted

Can someone explain how Salesforce works with CTI? (Avaya)

Salesforce doesn't provide any way to track these things. As a developer you have to do this. We have setup for Genesys and Avaya in our organization and we have built CTI adapter for salesforce with ...
Raj's user avatar
  • 221
4 votes
Accepted

Phone numbers aren't links in Internet Explorer 11

See the CTI Admin Cheat Sheet, notably: The minimum system requirements for a CTI adapter are: • For adapters built with CTI version 4.0 or higher: – Microsoft® Internet Explorer® 8; Mozilla® Firefox®...
sfdcfox's user avatar
  • 477k
3 votes

CTI Dialer in lightning app?

Rolling up comments. You can use lightning:clickToDial in your case and integrate it with Open CTI on any custom lightning component. Excerpt from the documentation: Renders a formatted phone number ...
Jayant Das's user avatar
  • 30.2k
3 votes
Accepted

How to unregister from an event

There isn't a way to unregister that event through the toolkit. One option might be creating a no-op function and setting that as the listener once you've handled the event? So inside of the ...
Paul H.'s user avatar
  • 1,328
3 votes
Accepted

Softphone icons not appearing after entering the credentials

I presume you're not able to see the buttons (you're referring to it as icons) - specifically those as shown below There are a few things that may be at play here 1) The first thing to check is your ...
Gaurav Kheterpal's user avatar
3 votes

sforce.one not available in VF page used as CTI adapter

The recommended approach is documented in the Open CTI developer guide here Using the below imports in Lightning Experience brings in the required sforce dependency <apex:page> <script ...
Mohith Shrivastava's user avatar
2 votes

Help for Open CTI

Apex REST service option will also work (like Suraj suggested), but it needs custom object data to be stored (which may be transient info) in SFDC DB. Then you need to look for a way to delete them , ...
PaSi's user avatar
  • 41
2 votes
Accepted

Salesforce Console - Open CTI Integration

You can add your objects which you want to search in "Call center Settings" and use Open CTI API to the search. That should help you.
Raj's user avatar
  • 221
2 votes

Is it possible to intervene between click to dial and actual phone call?

You need to use visualforce and controller Extension to meet your requirement. Use support:clickToDial component which renders a valid phone number as click-to-dial enabled for Open CTI. This field ...
Santanu Boral's user avatar
2 votes

Packaging a CTI enabled Lightning application

I have not found a way. We've pushed Salesforce to make Open CTI support enabled by default for Lightning apps but haven't found anyone who is responsive.
Grant Schenck's user avatar
2 votes

Finding SoftPhone Layouts via Apex

If you are using SF's Classic or Lightning Open CTI interface it has a Javascript method to retrieve the softphone layout. The method is: CLASSIC: sforce.interaction.cti.getSoftphoneLayout ...
Grant Schenck's user avatar
2 votes
Accepted

OpenCTI enableClickToDial does not invoke any callback in Salesforce Classic Console

For anyone struggling with an issue of OpenCTI API methods not getting invoked without any visible cause - in our case this turned out to be the issue with Call Center configuration: the CTI Adapter ...
Pawel Fronczak's user avatar
2 votes
Accepted

How to configure softphone in lightning

To make calls in Lightning Experience, complete the following. Create a Lightning app and add the Open CTI Softphone to your utility bar. In the call center definition file, the ...
Tushar Sharma's user avatar
2 votes

How can I make calls related to a case display in its Chatter feed?

There doesn't seem to be a way to create a "Call logged" feed item on the Case, if you are not creating it from UI (or logged through CTI calls, details below). Based on some quick tests below are ...
Jayant Das's user avatar
  • 30.2k
2 votes
Accepted

Adding a utility bar to a lightning component?

Seems you can, using lightning:utilityBarAPI. What you will need to do is to create a CTI dialer Utility using lightning:clickToDial and then include the utility in your lightning component. ...
Jayant Das's user avatar
  • 30.2k
2 votes
Accepted

Salesforce CTI softphone screenpop not working

This was fixed by right-clicking on the Chrome Reload button and selecting: Empty Cache and Hard Reload
Robs's user avatar
  • 9,067
2 votes
Accepted

CTI Call Centre: You can't add these users because they’re already assigned to another phone in Salesforce

It's likely to be because Lightning Voice and/or Dialer is configured. Check for the permission sets against the user, remove them, then remove the 'permission set license assignments' (Dialer ...
Rob Grigorian's user avatar
2 votes

CTI sendCTIMessage function from lighting component

The open CTI is not yet supported for lwc. You can embed the lwc component into aura components but you will need to use events or lightning messaging service (LMS) to communicate back and forth. ...
Mohith Shrivastava's user avatar
2 votes
Accepted

What is the actual openCti resource to be used for a custom softphone implementation?

It depends on whether you want to work with a classic or Lightning console. Use Open CTI for Salesforce Classic if... You want to make calls using a softphone in Salesforce Classic You want to make ...
Mohith Shrivastava's user avatar
2 votes
Accepted

How to use "Query value" in Amazon connect CTI flow?

I've run into the exact same sort of issue. It appears that you can't join strings and arguments in a Query block directly, so my solution for this was to build the query outside the Query block via ...
ledge's user avatar
  • 136
1 vote

Avaya CTI query

I implemented ScreenPop by javascript, the coding is if (jsonObj["eventtype"]=='offer') { // agent is not idle myAgentIdle = false; // inbound screen pop if (jsonObj["origcalling"]) {...
upinget's user avatar
  • 11
1 vote

Click to dial functionality went missing on switching to Lightning Experience

If you are using the Call Center feature you might need to switch to a new feature when using lightning. I found this documentation from Salesforce that says there is an app called Open CTI for ...
Dan Kowalski's user avatar
1 vote

when defining a call centre in open cti how to configure the call center number?

I'm not clear what you're asking... Generally softphone settings are stored in an associated SF Call Center Definition (CCD). A CCD is an XML file provided by you for an SF admin to import into the ...
Grant Schenck's user avatar
1 vote

Open CTI webservice method failure - server error

As an alternative, you could look to use the Open CTI method saveLog() which despite it's name can create any entity.
Grant Schenck's user avatar

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