In this step, you will test the new dynamic context relationship that you have created.
- Start the WebSphere Portal Test server:
- At the bottom of the window, click Servers.
- Select the WebSphere Portal Test server. Right click. From the menu, select Start.
- After the server starts, do the following:
- At a command prompt change directory to the WebSphere Commerce Developer install directory.
- Change the directory to CommercePortal\Portal\Config.
- Type the following: wpsconfig enable-wcep-portal-server-b2c
- Wait until the command completes.
- In the Project Navigator, locate the project you created when you installed and configured the development environment.
- Right click on the project. From the menu, select Run on Server. The Server Selection window displays.
- Select the WebSphere Portal server. Click Finish. When the server finishes running, the Winstons store displays in the Web browser.
- In the Winstons store, click My Shopping Cart, then select Edit Page. The Edit Layout page displays.
- In the Edit Layout page, accept the default layout of the page. You will add the new Product Info Display portlet to the page.
- Click Add portlets. A search page displays.
- Search for the Product Info Display portlet you created. In the Search for field, type Product Info. Click Search. The Product Info Display portlet displays in the portlet list.
- Select the Product Info Display portlet and click OK, then Done. The Winstons store redisplays.
- Add a product or two to your shopping cart. Select any products you like.
- View your shopping cart.
- Select MyCarts.
- In the shopping cart, click on the item you added to your shopping cart.
- An image and description of the product displays in the Product Info Display portlet.
Congratulations! You have completed the tutorial.