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

< Previous | Next >


Point to the new widget definition

In the previous step, you created a customized version of the Order Items table. In this step, you create a file that indicates that the custom definition should be used instead of the default definition.


To create the file:

  1. In the Package Explorer view, right-click the com.example.commerce.telesales.myNewPracticePlugin project and select New > Folder.

  2. In the Folder name field, enter config, and click Finish.

  3. Right click the config folder and select New > File.

  4. In the File name field, enter config.ini, and click Finish. The config.ini file opens for editing.

  5. Add the following line to the config.ini file to indicate that instead of using the default orderItemPageTableDefinition.default, the IBM Sales Center should display the com.example.commerce.telesales.myNewPracticePlugin.customizedItemTable that is defined in the plug-in:

    com.ibm.commerce.telesales.ui.impl.orderItemPageTableDefinition.default=com.example.commerce.telesales.myNewPracticePlugin.customizedItemTable.
    

  6. Save and close the file.

< Previous | Next >


+

Search Tips   |   Advanced Search