Enable shopping flow preview for workspaces

Enable shopping flow preview in workspaces allows users to preview how their changes affect the experience of a customer when the customer is completing a shopping flow.

Some objects and actions are not supported:

See Workspaces limitations.


Procedure

  1. Copy the following file to a temporary location:

    • workspace_dir/WC/xml/content-management/wc-order-resource-managers.xml

  2. Open the temporary copy of the file in a text editor.

  3. Find the <wc:OperationalResources> element. Add the following information to the element:

      <wc:OperationalResource name="ORDTAX" 
            resourceClassName="com.ibm.commerce.taxation.objects.OrderTaxAccessBean" 
            managed="true" resource="ORDTAX" /> 		
      <wc:OperationalResource name="ORDITAX" 
            resourceClassName="com.ibm.commerce.taxation.objects.OrderItemTaxAccessBean" 
            managed="true" resource="ORDITAX" /> 		
      <wc:OperationalResource name="SHIPINFO" 
            resourceClassName="com.ibm.commerce.order.objects.ShipInfoAccessBean" 
            managed="true" resource="SHIPINFO" /> 		
      <wc:OperationalResource name="OICOMPLIST" 
            resourceClassName="com.ibm.commerce.order.objects.OrderItemComponentAccessBean" 
            managed="true" resource="OICOMPLIST" /> 		
      <wc:OperationalResource name="ORDIOFFER" 
            resourceClassName="com.ibm.commerce.order.objects.OrderItemOfferRelationshipAccessBean" 
            managed="true" resource="ORDIOFFER" /> 		
      <wc:OperationalResource name="ORDITRD" 
            resourceClassName="com.ibm.commerce.order.objects.OrderItemTradingRelationshipAccessBean" 
            managed="true" resource="ORDITRD" /> 		
      <wc:OperationalResource name="ORDPROMOCD" 
            resourceClassName="com.ibm.commerce.order.objects.OrderPromotionCodeAccessBean" 
            managed="true" resource="ORDPROMOCD" /> 		
      <wc:OperationalResource name="ORDITPROMOCD" 
            resourceClassName="com.ibm.commerce.order.objects.OrderItemPromotionCodeAccessBean" 
            managed="true" resource="ORDITPROMOCD" />

  4. Save our changes.

  5. Update the deployment package to include your updated files.

  6. Run the UpdateWorkspacesSchemaTable Ant script to migrate these tables from unmanaged assets to operational assets in the workspace. Refer to Ant target: CM_updateWorkspacesTable.


Related concepts
Authoring environment schema update tool


Related tasks
Enable Workspaces
Creating an authoring environment
Synchronizing an authoring environment with a production environment
Running the authoring environment update scripts on the WebSphere Commerce Server
Updating the quick publish target
Updating the JDBC provider setting for the quick publish target
Enable retry for quick publish
Enable e-mail notification for workspaces
Changing workspaces locking policy


Related reference
Ant target: CM_updateWorkspacesTable
Ant target: CM_updateWorkspacesSchema
Troubleshooting: Update Workspace failing to update the workspace because of missing column for primary key