---
schema_version: "1"
id: 5ead3680cae69dc09ca749044ba2c68ffc51f43a8ff24344d073612274450a8d
title: Methods for Lightning Experience
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/service-cloud/api-cti/guides/sforce-api-cti-methods-intro-lightning.md
canonical_url: https://developer.salesforce.com/docs/service/api-cti/guide/sforce-api-cti-methods-intro-lightning.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 4786e04874b81e274f059e2fbd16f5ae3ef15db9112fc8cbccdf9f0b2e71e2e6
products:
  - Open CTI Developer Guide
  - Service Cloud Developer Content
---

# Methods for Lightning Experience

If your org is using Lightning Experience, use methods that work with Lightning Experience.

**important:** Open CTI is in maintenance mode and is scheduled for retirement in February 2028. No new features or enhancements are being added to Open CTI. Effective immediately, Open CTI is deprecated and unavailable for newly created Agentforce Service orgs. To ensure long-term compatibility and access to the latest innovations, we recommend transitioning your development efforts to Salesforce Voice. For more information, see this [Knowledge Article](https://help.salesforce.com/s/articleView?id=005306437&type=1), [learning map](https://help.salesforce.com/s/articleView?id=service.cti_migrate_map.htm), and [developer migration guide](/docs/service/api-cti/guide/migrate-cti.html).


**note:** The way you implement Open CTI depends on your org’s user interface. There are separate Open CTI APIs for Salesforce Classic and Lightning Experience.You can’t swap the two Open CTI APIs in custom JavaScript code because they behave and function differently. Make sure that you think about where you want to implement your CTI system before you begin developing.

- **[disableClickToDial() for Lightning Experience](https://developer.salesforce.com/docs/service/api-cti/guide/sforce-api-cti-disableclicktodial-lex.md)**

- **[enableClickToDial() for Lightning Experience](https://developer.salesforce.com/docs/service/api-cti/guide/sforce-api-cti-enableclicktodial-lex.md)**

- **[getAppViewInfo() for Lightning Experience](https://developer.salesforce.com/docs/service/api-cti/guide/sforce-api-cti-getappviewinfo-lex.md)**

- **[getCallCenterSettings() for Lightning Experience](https://developer.salesforce.com/docs/service/api-cti/guide/sforce-api-cti-getcallcentersettings-lex.md)**

- **[getSoftphoneLayout() for Lightning Experience](https://developer.salesforce.com/docs/service/api-cti/guide/sforce-api-cti-getsoftphonelayout-lex.md)**

- **[Sales Engagement Methods for Lightning Experience](https://developer.salesforce.com/docs/service/api-cti/guide/sforce-api-cti-hvs-lex.md)**

- **[isSoftphonePanelVisible() for Lightning Experience](https://developer.salesforce.com/docs/service/api-cti/guide/sforce-api-cti-issoftphonepanelvisible-lex.md)**

- **[notifyInitializationComplete() for Lightning Experience](https://developer.salesforce.com/docs/service/api-cti/guide/sforce-api-cti-notifyinitializationcomplete-lex.md)**

- **[onClickToDial() for Lightning Experience](https://developer.salesforce.com/docs/service/api-cti/guide/sforce-api-cti-onclicktodial-lex.md)**

- **[onNavigationChange() for Lightning Experience](https://developer.salesforce.com/docs/service/api-cti/guide/sforce-api-cti-onnavigationchange-lex.md)**

- **[refreshView() for Lightning Experience](https://developer.salesforce.com/docs/service/api-cti/guide/sforce-api-cti-refreshview-lex.md)**

- **[runApex() for Lightning Experience](https://developer.salesforce.com/docs/service/api-cti/guide/sforce-api-cti-runapex-lex.md)**

- **[saveLog() for Lightning Experience](https://developer.salesforce.com/docs/service/api-cti/guide/sforce-api-cti-savelog-lex.md)**

- **[screenPop() for Lightning Experience](https://developer.salesforce.com/docs/service/api-cti/guide/sforce-api-cti-screenpop-lex.md)**

- **[searchAndScreenPop() for Lightning Experience](https://developer.salesforce.com/docs/service/api-cti/guide/sforce-api-cti-searchandscreenpop-lex.md)**

- **[setSoftphoneItemIcon() for Lightning Experience](https://developer.salesforce.com/docs/service/api-cti/guide/sforce-api-cti-setsoftphoneitemicon-lex.md)**

- **[setSoftphoneItemLabel() for Lightning Experience](https://developer.salesforce.com/docs/service/api-cti/guide/sforce-api-cti-setsoftphoneitemlabel-lex.md)**

- **[setSoftphonePanelHeight() for Lightning Experience](https://developer.salesforce.com/docs/service/api-cti/guide/sforce-api-cti-setsoftphonepanelheight-lex.md)**

- **[setSoftphonePanelIcon() for Lightning Experience](https://developer.salesforce.com/docs/service/api-cti/guide/sforce-api-cti-setsoftphonepanelicon-lex.md)**

- **[setSoftphonePanelLabel() for Lightning Experience](https://developer.salesforce.com/docs/service/api-cti/guide/sforce-api-cti-setsoftphonepanellabel-lex.md)**

- **[setSoftphonePanelVisibility() for Lightning Experience](https://developer.salesforce.com/docs/service/api-cti/guide/sforce-api-cti-setsoftphonepanelvisibility-lex.md)**

- **[setSoftphonePanelWidth() for Lightning Experience](https://developer.salesforce.com/docs/service/api-cti/guide/sforce-api-cti-setsoftphonepanelwidth-lex.md)**

- **[Lightning Message Service Methods for Lightning Experience](https://developer.salesforce.com/docs/service/api-cti/guide/sforce-api-cti-methods-lms.md)**

- **[Common Error Messages for Lightning Experience Methods](https://developer.salesforce.com/docs/service/api-cti/guide/sforce-api-cti-error-messages-lightning.md)**
