Samples >
IBM Sales Center samples: Actions, dialogs, editors and requests
The IBM Sales Center samples give you access to a wide range of files that can help you get started in developing the own Sales Center solution.
Included in these Java samples are:
- actions
- dialogs
- editors
- requests
Within the actions section, we will find samples for:
- Create Customer Action
- Create Customer Dialog Action
- Create Customer Dialog Workbench Action Delegate
- Create Customer Workbench Action Delegate
- Edit Customer Action
- Edit Customer Workbench Action Delegate
Within the dialog section, we will find samples for:
- Create Customer Dialog
Within the editors section, we will find samples for:
- Customer Address Page
- Customer Editor
- Customer Name Page
- Customer Page
Within the requests section, we will find samples for:
- Create Customer Request
To import the samples into the workspace:
- Open the IBM Sales Center development environment.
- Click File > Import.
- In the Select an Import Source box, click Existing Project into Workspace.
- Click Next, then click Browse.
- Navigate to the following directory: WCDE_INSTALL\samples\SalesCenter\com.ibm.commerce.telesales.samples and click OK.
- Click Finish.
To test if the samples were imported properly:
- Ensure you have a WebSphere Commerce Server to which you can connect the IBM Sales Center client.
- Open the IBM Sales Center client within the development environment.
- When the IBM Sales Center client logon screen appears, click Connectivity.
- Enter the following values:
- Server: The fully qualified hostname of the WebSphere Commerce Server. If the WebSphere Commerce Server is on the same machine as the IBM Sales Center development environment, enter localhost.
- HTTPS Port: 8000
- Click Apply, then click OK.
- Enter the user name and password. The default user name and password are both wcsadmin.
- Click the Customer menu.
If you see the following three items exist in the Customer menu, then the samples were imported properly:
- Sample Create Customer Dialog
- Sample Edit Customer
- Sample Create Customer
IBM Sales Center Tutorials
A highly recommended approach to learning how to extend the IBM Sales Center is to follow one or more of the provided tutorials:
- Tutorial: Customizing the appearance of the IBM Sales Center
- Tutorial: Adding a new search term in the IBM Sales Center
- Tutorial: Extending a page in an editor
- Disable SSL for the IBM Sales Center
This sample demonstrates disabling SSL so that the IBM Sales Center connects to the WebSphere Commerce Server using a non-SSL port. Disabling SSL is useful for instance, if you do not want to use SSL within the development environment.
- Create a perspective in the IBM Sales Center
This sample defines an Order perspective and application in XML that resembles the standard IBM Sales Center - Order Management perspective, except that the "fixed" attribute is set so that the layout cannot be changed by the user. Other contents, restrictions, and layout dimensions can be achieved by modifying this file without changing any code.
- Changing the banner in the IBM Sales Center
In this sample, we will modify the banner that displays at the top of the IBM Sales Center and in the About dialog that displays when a user clicks Help > About IBM Sales Center.
- Modify the user interface of an editor
- Changing the default sorting order for a table column in the IBM Sales Center
In this sample we will change the sorting order for a table column in the IBM Sales Center. Changing the sorting order is useful for instance, if you do not want the default sorting sequence (ascending).
Related concepts
Overview of customizing IBM Sales Center
Related tasks