

Updating the workspaces write schema
In this lesson, you run the UpdateWorkspaceSchema script to create your custom tables in all of your workspaces. If you change to your WebSphere Commerce database schema, such as adding a new table, these changes must also be made in the workspace schemas. This tool allows you to recalibrate the workspace schemas with the master database schema. Without recalibration, your workspaces will not work with your new changes to the base schema.
Procedure
What to do next
Register the change control insert more command for the
custom access profiles. The InsertMoreNounChangeControlMetaDataCmdImpl
looks
up the locking information for a noun and adds the locking information
to the response. Locking information is used by Management Center
to flag objects as read-only or not read-only. Since the previous
tutorial Tutorial: Adding fields in the Catalogs tool customized
the Catalogs tool to use custom access profiles, the InsertMoreNounChangeControlMetaDataCmdImpl
must
be registered to return locking information.
- Run the following SQL query:
insert into cmdreg (storeent_id, interfacename, classname) values (0, 'com.ibm.commerce.catalog.facade.server.commands.InsertMoreCatalogEntryDataCmd+MyCompany_All.0', 'com.ibm.commerce.foundation.server.command.bod.bom.InsertMoreNounChangeControlMetaDataCmdImpl');