Predefining the default store address and alias within the Management Center

A developer can predefine a store address and a store alias as options in the Management Center Store Preview dialog. This way, a business user does not have to know the address or the name of the store.

Procedure

  1. Open WebSphere Commerce Developer and switch to the Enterprise Explorer view.
  2. Expand LOBTools > WebContent > xml and locate the StorePreviewAliases.xml file.
  3. Within the StorePreviewAliases.xml file, add the URL for the store address and the short name alias for the store.
    For example:
    <storeAlias name="Example Alias">
    	http://localhost/webapp/wcs/stores/servlet/ReLogonFormView?catalogId=10101&storeId=10101&langId=-1
    </storeAlias>

What to do next

After you complete your work:
  1. Test your changes by viewing them in the Management Center, using this URL: https://hostname:8000/lobtools.
  2. Deploy your changes to your production environment.