Tutorials > Sales Center > Add an editable column to the Order Items table by creating a new widget manager

< Previous


Deploy the changes

In this step, you deploy the changes you made in the previous steps.

Deploy the changes involves the following high-level steps:


Procedure

  1. Export the code for the client from the IBM Sales Center development environment.

  2. Install the client code on an IBM Sales Center client.


Export the code for the client from the IBM Sales Center development environment


Prepare the plug-in for packaging

Return to the client development environment and package the customized assets for deployment...

  1. Open the IBM Sales Center development environment if it is not already open.

  2. In the Package Explorer view, navigate to the com.example.commerce.telesales.myNewPracticePlugin project.

  3. In the com.example.commerce.telesales.myNewPracticePlugin project, locate the plugin.xml file. Double-click the file to open it for editing.

  4. Click the Build tab.

  5. In the Binary Build section of the Build Configuration editor:

    1. Select the config directory to also save the config.ini file in the exported plug-in.

    2. Keep all default selections.

    Your Binary Build list should be similar to the following screen capture:

  6. Save the changes.


Create a feature project

  1. Click File > New > Feature Project.

  2. In the Project name field, enter com.example.commerce.telesales.myNewPracticePluginFeature.

  3. Click Next.

  4. In the Feature Properties window, in the Feature Provider field, enter MyCompany.

  5. Click Next.

  6. From the Referenced Plug-ins and Fragments list, select com.example.commerce.telesales.myNewPracticePluginExtension.

  7. Click Finish. The feature.xmlfile opens for editing in the Feature Manifest editor.

  8. In the General Information pane, modify the Update Site URL to http://com.example.commerce.telesales.myNewPracticePluginURL and modify the Update Site Name to com.example.commerce.telesales.myNewPracticePluginFeature

  9. In the Properties view:

    1. Set the Label property's value to com.example.commerce.telesales.myNewPracticePluginFeature.

    2. Set the URL property's value to http://com.example.commerce.telesales.myNewPracticePluginURL. If you plan to host this update on a real update site, set this value to the server URL from which the updates can be found.

  10. Save the changes.


Create an update site project

  1. Click File > New > Other.

  2. Select Plug-in Development > Update Site Project.

  3. Click Next.

  4. In the Project name field, enter com.example.commerce.telesales.myNewPracticePluginUpdateSite and click Finish.

  5. In the site.xml editor, in the Features tab, click Add.

  6. In the Available Features list, select com.example.commerce.telesales.myNewPracticePluginFeature (1.0.0) and click Finish.

  7. Right-click com.example.commerce.telesales.myNewPracticePluginFeature (1.0.0) and select Publish.

  8. Click Build All.

  9. Save the changes.

  10. In the Package Explorer view, hold down the Ctrl key and select both the com.example.commerce.telesales.myNewPracticePluginFeature project and the com.example.commerce.telesales.myNewPracticePluginUpdateSite project. Right-click and select Export.

  11. Select File System and click Next.

  12. In the To directory field, type a directory on the file system, such as drive:\com.example.commerce.telesales.myNewPracticePluginExtension.

  13. Click Finish.


Update the IBM Sales Center client

To apply the customization code for adding the new Fulfillment Centers column to the IBM Sales Center client:

  1. If the IBM Sales Center client is on a different machine than the directory to which you exported the com.example.commerce.telesales.myNewPracticePluginExtension, copy the com.example.commerce.telesales.myNewPracticePluginExtension directory to the machine that runs the IBM Sales Center client.

  2. Open the IBM Sales Center.

  3. In the Application menu, select Install. If you do not see the Install option, then open the Sales Center in administrator mode.

  4. In the Application Installations window, click Add Folder Location.

  5. Navigate to the folder that contains the myNewPracticePluginExtension, such as drive :/ com.example.commerce.telesales.myNewPracticePlugin Extension/ com.example.commerce.telesales.myNewPracticePlugin UpdateSite.

  6. From the Location List, select only com.example.commerce.telesales.myNewPracticePluginExtension/com.example.commerce.telesales.myNewPracticePluginUpdateSite.

  7. If the Edit Locale window displays, click OK.

  8. In the Search Results window, select com.example.commerce.telesales.myNewPracticePluginFeature.

  9. Click Next.

  10. Select I accept the terms in the license agreements and click Next.

  11. Accept the default value and click Finish.

  12. Click Install.

  13. When prompted, restart the IBM Sales Center client.

  14. When the client restarts, select Application > Open > Sales Center - Order Management.

  15. Click File > Logon and connect to the WebSphere Commerce Server.

< Previous


+

Search Tips   |   Advanced Search