Tutorials > Content management > Create a content-managed resource > Preview the new resource - Testing using WebSphere Commerce Workspaces and Preview

< Previous | Next >


Log in to the WebSphere Commerce Accelerator to work on the assigned task


Procedure

  1. From within the Workspace Administration Tool, click Launch WebSphere Commerce Accelerator.

  2. Select the store Consumer Direct and click OK. The WebSphere Commerce Accelerator should now be displayed.

  3. Select Tasks > View Tasks.

  4. The Test Catalog Extended Description task should be displayed in the list. Select this task and click Work on.

  5. The WebSphere Commerce Accelerator is refreshed and the task is highlighted in orange to indicate that you are now working within a workspace. The breadcrumb trail also displays the workspace task name.

  6. Create a sales catalog by choosing Merchandise > Sales Catalog.

  7. Click New. Type TestECD in all the fields displayed and click OK.

  8. The sales catalog should now be created in the workspace.

    To verify this, check the database. Since this was created within a workspace, the workspace write schema needs to be checked for the new record.

  9. From the previous tutorial step, we made note of the workspace identifier of our newly created workspace. This is important because we need this value to determine which workspace write schema our sales catalog changes are saved in.

     select WRITESCHEMA 
    from CMWSSCHEMA 
    where WORKSPACE='<WORKSPACE IDENTIFIER VALUE>'
     
     WRITESCHEMA
     -------------------- 
     WCW101    
     1 record(s) selected.
     
     
    

    You will see a value similar to the above, in the form WCW###.

  10. Now check the database for the catalog id of our modified catalog.s

     select catalog_id from
    <WORKSPACE WRITE SCHEMA>.catalog where identifier like '%ECD%'
     
     CATALOG_ID
     -------------------- 
     32101    
     1 record(s) selected.
     
     
    

    Note: Make sure to use this ID in the next steps. For verification purposes, the WebSphere Commerce base schema can also be checked for the record. The record should not appear since the changes have not been approved.

    select catalog_id from catalog where identifier like '%ECD%'
    CATALOG_ID
    --------------------
    
     0 record(s) selected.
    
    

< Previous | Next >


+

Search Tips   |   Advanced Search