Launching Sterling Call Center from another application
You might need to embed certain capabilities of Sterling Call Center within other web applications. In such cases, you can launch a specific wizard or screen of Sterling Call Center from the application.
Procedure
In your invoking application, embed an iframe and specify the required URL request parameters
for the iframe.
By default, the application provides support to launch certain screens from the external application. Those screens and the corresponding URL parameters are described in the following table:
Screen name | Parameters |
---|---|
Order Summary |
|
Return Summary |
|
Shipment Summary |
|
Business Customer Details |
Note:
CustomerName parameter internally maps to OrganizationName
attribute |
Notes:
Sample request parameters for the
iframe:- URL parameters may be different depending on the screen that you want to launch from the invoking application.
- The parameters are not validated and this should be taken care by the external application.
ScreenID
is the unique identifier for a screen or wizard in Sterling Call Center application. So this is a mandatory parameter to launch any screen in the application.embedded
is an optional parameter that can be used to hide the application header when a Sterling Call Center screen is launched. To hide the header, set the value of the parameter toY
in the URL. To show the header, set it toN
http://<serverip>:<port>/isccs/isccs/container/home.do?scFlag=Y&screenID=OrderSummary&OrderHeaderKey=<order header key>&OrderNo=<order_number>&EnterpriseCode=Matrix-B&embedded=Y
To launch screens using other parameters or to launch screens which are not supported by default,
you need to customize the application by performing the following steps:
- Extend the home screen.
- Create an event listener for the
init
screen event and add a subscriber to the afterScreenLoad event. - Write code to launch the screen in the event listener method created in step b.
- Use the method
document.getElementsById
to retrieve any parameter passed in the URL. For example, to get the screen ID, you can use the following code:var screenID = document.getElementById("screenID").value
.