Using the Metadata API/Force.com Ant Migration tool, how does one retrieve or deploy the SoftPhone Layouts for the Call Center?

By SoftPhone Layout, I mean that which can be found at https://login.salesforce.com/04n?skipSplash=1

Alternatively, I see in Chapter 8 of the CTI Toolkit Developer Guide (pdf), there is a way to call describeSoftphoneLayout() and read this layout information. Is there any way to programmatically update this layout (not including a Selenium script or the like)?


Because I haven't found anything close to an answer for even versioning SoftPhone Layouts, I've created a tool that will pull your SoftPhone Layout so you can at least version it. Ideally, you should add a hook to whenever you pull metadata, you can pull this, too.

This does not currently include a way to POST this data, because I have no idea how to do that outside of the Web UI (I suppose at worst, this can be a Selenium script.)

I'm not accepting this answer, but providing it as a resource.


To retrieve or upload call centers you need to add the following to package.xml:


This is the example of the .callCenter XML file:

<?xml version="1.0" encoding="UTF-8"?>
<CallCenter xmlns="http://soap.sforce.com/2006/04/metadata">
    <displayName>Demo Call Center Adapter Open CTI</displayName>
    <displayNameLabel>Display Name</displayNameLabel>
            <label>CTI Adapter URL</label>
            <label>Use CTI API</label>
            <label>Softphone Height</label>
            <label>Softphone Width</label>
        <label>General Information</label>
            <label>Outside Prefix</label>
            <label>Long Distance Prefix</label>
            <label>International Prefix</label>
        <label>Dialing Options</label>

It should have .callcenter extension and being placed in callCenters folder of your deployment archive.

  • Does this include SoftPhone Layout? – Charles Koppelman Mar 7 '16 at 19:08
  • It is includes only call center config – pklochkov Mar 7 '16 at 19:43

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.