Managing custom mashups using the Extensibility Workbench
You can add, modify, discard, or replace custom mashups.
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, modify, discard, or replace custom mashups.
- Click the Data tab.
- Click the Mashup Calls tab.
- To manage initialization mashups, expand Initialization
Mashups. Otherwise, expand Behavior Mashups.
Managing mashup reference
- To create a custom mashup reference, click the Add icon . The New Mashup Details panel opens
to the right.
- In the Mashup Reference ID field, enter the mashup reference identifier that is unique to the screen.
- From the Mashup ID list, select the appropriate mashup identifier from the list or create a custom mashup.
- From the Source Namespace list, select the appropriate namespace from the list.
- Click Ok.
For more information about the mashups, see InitController components and BehaviorController component.
- To modify the details of a custom mashup reference, click the Edit icon . The Mashup Details panel opens to the right. Modify the details appropriately, and click Ok. Click Close.
Managing custom mashup- To create a custom mashup, click the Add icon . The Mashup Details: Creating a custom Mashup window
opens.
- In the Mashup ID field, enter the mashup identifier.
- In the Mashup Type field, enter the mashup type.
- In the Class Name field, enter the Java class name for the mashup.
- From the API Name list, select the appropriate API
- In the Mashup EndPoint field, enter the endpoint.
- Click Apply.
- Click Close.
For more information about custom mashup fields, see Mashup layer.
- To modify the details of a custom mashup, double-click the mashup reference identifier that you want to modify, and click the Edit icon . The Mashup Details window opens. Modify the details, and click Apply.
- To delete a custom mashup, double-click the mashup reference identifier
that you want to delete, and click the Edit icon . The Mashup Details window opens.
- Click Delete.
- Click Ok. All the screens that use the mashup extension are impacted.
- To restore the initial application-provided mashup definition, click the Restore Mashup icon .
- To replace a mashup reference identifier, double-click the mashup
reference identifier that you want to replace. The Mashup
Details panel opens to the right.
- Click the Replace icon . The Mashup Details window opens.
- Modify the details, and click Apply.
- To create a custom mashup reference, click the Add icon . The New Mashup Details panel opens
to the right.
- If you create, modify, discard, or replace multiple mashups, click Apply.
- Click Save to save all your extensions. Note: It is recommended that you refresh or reload the application after you save your extensions.
- Click Close.