WebSphere Commerce EnterpriseWebSphere Commerce Professional

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 your own Sales Center solution.

Included in these Java samples are:
  • actions
  • dialogs
  • editors
  • requests
Within the actions section, you 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, you will find samples for:
  • Create Customer Dialog
Within the editors section, you will find samples for:
  • Customer Address Page
  • Customer Editor
  • Customer Name Page
  • Customer Page
Within the requests section, you will find samples for:
  • Create Customer Request
To import the samples into your workspace:
  1. Open the IBM Sales Center development environment.
  2. Click File > Import.
  3. In the Select an Import Source box, click Existing Project into Workspace.
  4. Click Next, then click Browse.
  5. Navigate to the following directory: WCDE_installdir\samples\SalesCenter\com.ibm.commerce.telesales.samples and click OK.
  6. Click Finish.
To test if the samples were imported properly:
  1. Ensure you have a WebSphere Commerce Server to which you can connect the IBM Sales Center client.
  2. Open the IBM Sales Center client within the development environment.
  3. When the IBM Sales Center client logon screen appears, click Connectivity.
  4. Enter the following values:
    1. Server: The fully qualified hostname of your WebSphere Commerce Server. If the WebSphere Commerce Server is on the same machine as your IBM Sales Center development environment, enter localhost.
    2. HTTPS Port: 8000
  5. Click Apply, then click OK.
  6. Enter your user name and password. The default user name and password are both wcsadmin.
  7. 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