Control Panel
- 17 Jun 2022
- 1 Minute to read
- Print
- DarkLight
Control Panel
- Updated on 17 Jun 2022
- 1 Minute to read
- Print
- DarkLight
Article summary
Did you find this summary helpful?
Thank you for your feedback
How to use API
First of all, you need to read this guide to known how to embed the Control Panel into your web system, and then you can call the following APIs according to your requirements.
APIs
Actions
goto
: change Comm100 Control Panel Page path.Params
Name type Description pagePath string The path of the page to redirect to. You can find the all page path from here. Response
No Response
Example
// When control completes the initialization, redirect to the live chat chat source reporting page after five seconds controlPanel.init().then((cp) => { setTimeout(function() { cp.do("goto", "/reporting/livechat/chatsource/chatsourcebytime/"); }, 5000); });
Click here to get more information about setTimeout.
Was this article helpful?