We are leveraging a 3rd party soft phone. We also have a custom console component that we open when the call ends. We do this using the setCustomConsoleComponentVisible() method. The issue is, when popping this component open, it does not auto-minimize the phone component. However, when manually opening our custom console component the phone component automatically minimizes. Does anyone have any idea on how to resolve this?


You can use setVisible to collapse the phone component if it's the openCTI softphone: https://developer.salesforce.com/docs/atlas.en-us.api_cti.meta/api_cti/sforce_api_cti_setvisible.htm.

If that doesn't work, you can try getting a reference to the console component's button via document.getElementById and calling click() on it.

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.