You can add a hyperlink in any screen to access the specified
external system. For example, you can add View shipment
status hyperlink in the Shipment Tracking screen. On clicking
this link, users can track the shipment status in the specified external
system.
Before you begin
Understand how to add widgets and IFrame widgets to a screen.
Procedure
-
Log on to Sterling™ Call Center. The Home
page opens.
- Open the Order Search Criteria screen
in any of the following ways:
- On the Home page, in the Order panel
click Find Order.
- From Related Tasks, click Order
Search.
- Enter the appropriate order search criteria, and click Search.
Your search results are displayed in the Search Results panel.
- Click the appropriate Order Number for which you want to
view the order summary. The Order Summary screen
opens.
- From Related Tasks > Frequently Asked Questions, click Where
is my shipment?. The Shipment Tracking screen
opens.
- From the application header, click
the Development Tools icon
, and select Customize from
the list. Hover over the Shipment Tracking screen
and right-click to select the screen. Alternatively,
you can select
Customize from Outline from
the application header. The
Select Screen to Extend window
opens. From the tree, select
ShipmentTracking and
click
Extend Screen.
Note:
- If you cannot customize the selected screen, an appropriate message
is displayed.
- If multiple instances of the same screen are found, by default,
the first instance of the screen is selected for customization.
- By default, the Layout tab is selected. From the Widget
Palette panel, select and drag the Link widget
to the Screen Outline panel and place the widget
in the appropriate position. The Basic Properties window
opens.
- In the Unique identifier field,
select the extn_shipmentstatus_link.
- In Field label, click
. The Field label window
opens.
- Click
. The Add
Bundle Entry window opens.
- In the Bundle Text field, enter Shipment
status.
- In the Bundle key field, extn_Shipment_status bundle
key is populated.
- Click Ok.
- Click Select with Colon. The Basic
Properties window opens.
- Click Apply.
- Click the Events tab.
- Add the local onClick event by clicking
the Add icon
. The Subscriber
Details window opens.
- In the Method field, enter openShipmentStatus.
- Click Ok.
- Add a panel in which IFrame must be displayed. From the Widget
Palette panel, select and drag the Content Pane widget
to the Screen Outline panel and place the widget
in the appropriate position. The Basic Properties window
opens.
- In the Unique identifier field,
enter extn_contentpane_iframeHolder for the
panel, and click Apply.
- Click Apply.
- Click Save. The ShipmentTrackingExtn.js file
is generated.
- Click Close.
What to do next
- Browse to <INSTALL_DIR>/extensions/isccs/webpages/shipment/shipmentTracking,
and open the ShipmentTrackingExtn.js file.
- Add the following code in the subscriber:
var iframeUId = _scWidgetUtils.createIframeWidget(this, null, {"IFrame": {frameId: 'myFrame',frameSrc:
'<provide your application URL here>', applyCSRF: true, frameScrolling: 'yes' }});
_scWidgetUtils.placeAt(this,"extn_contentpane_iframeHolder",iframeUId,null);
- Import the appropriate utilities in
scDefine.
- Refresh or reload the screen to view the changes.