Managing subscribers using IBM® Extensibility Workbench
You can add subscribers before or after an event. You can also delete subscribers that are associated with an event.
Procedure
- Log in to Sterling Store Engagement. The Home page opens.
- From the application header, click
the Development Tools icon , and select Customize from
the list.
Alternatively, you can select Customize from Outline. The Select screen to Extend window opens. The list of screens present in the current screen is displayed. For example, if you open the Order Search screen, the tree displays Order Search, Order List Screen, and others present in this screen.
From the tree, select the screen that you want to customize, and click Extend Screen.Note:- If you cannot customize the selected screen, an appropriate message is displayed.
- You cannot use the customize option to customize screens that contain iframes, such as the Print PDF Container screen.
- If multiple instances of the same screen are found, by default, the first instance of the screen is selected for customization.
- Select the screen to which you want to add subscribers.
Note:
- After you select a particular screen to add subscribers, you cannot select any other screen. To select another screen, click Close.
- If you cannot add subscribers for the selected screen, an appropriate message is displayed.
- From the Screen Outline panel, select the event for which you want to add a subscriber.
- Click the Events tab.
- To add a subscriber before or after an existing subscriber, click the Add icon . The Subscriber Details window opens.
- In the Method field, enter the method name of the subscriber. Enter other details, if applicable.
- Click Ok.
If you want to delete subscribers, click the Delete icon .
- If you are applying multiple extensions, click Apply.
Important: To load the screen, define the methods in JavaScript methods extension file.
- Click Save to save all your extensions. Note: It is recommended that you refresh or reload the application after you save your extensions.
- Define methods in the JavaScript extension file. Browse
to the location where the extension file is located and add the method
name.
For example, if you create extension for the
wsc.home.portlets.BackroomPickPortlet
screen, browse to the <INSTALL_DIR>/extensions/wsc/webpages/home/portlets folder, and add the method name in theBackroomPickPortletExtn.js
file.For more information about adding subscribers to an event, see Events and subscribers.