I would like to programmatically access the SoftPhone Layouts present in an organisation via Apex. In particular, I want to know whether one exists.

I know this information is available via the Metadata API but I haven't found a similar method in Apex.

I have found an old question asking the for the same information, but it has no answers.



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
LIGHTNING: sforce.opencti.getSoftphoneLayout

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.