You can create a related task in any screen. When a user
clicks the related task, it opens a screen. For example, create the View
Personalization Options related task in the Order Summary
screen. On clicking this related task, the user can view the personalization
options.
Understand how to create custom screens.
-
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 Related Tasks 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
OrderEditorRT 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,
enter
extn_relatedlink
.
- In Value field, click
. The Value window
opens.
- Click
. The Add
Bundle Entry window opens.
- In the Bundle Text field, enter View
details on website.
- In the Bundle key field, extn_View_details_on_website bundle
key is populated.
- Click Ok.
- Click Select with Colon. The Basic
Properties window opens.
- Click Apply. The Link:
extn_link panel opens to the right.
- In Screen Outline, select Link:extn_relatedtask_link.
The related task details are displayed.
- Click the Events tab, and select OnClick event.
- Click the Add icon
.
- In the Method field, enter View
Details.
- Click Ok.
- Click Save. The
OrderEditorRTExtn.js
file
is generated.
- Click Close.
What to do next
- Browse to <INSTALL_DIR>/extensions/isccs/webpages/editors,
and open the OrderEditorRTExtn.js file.
- Add the following logic in the subscriber method:
var currentEditor = scEditorUtils.getCurrentEditor();
var taskInput = scScreenUtils.getInitialInputData(currentEditor);
var constructorArgs ={};
scWizardUtils.openWizardInEditor("isccs.shipment.wizards.shipmentTracking.ShipmentTrackingWizard",taskInput,"isccs.editors.OrderEditor",constructorArgs.editorConfig,this);
- Import the appropriate utilities in
scDefine
.
- Refresh or reload the screen to view the changes.