Predefining the default store name within the Management Center

+

Search Tips   |   Advanced Search

A Site Administrator can predefine a store name in the Management Center Preferences dialog. This way, a business user does not have to know the store name, or spelling of the store name.

About this taskThe business user must select OK to save the setting and be able to use that as the default store the next time they log onto the Management Center.

To predefine the default store name for a business user:

  1. Open WebSphere Commerce Developer and switch to the Project Explorer view.

  2. In the Project Explorer view, expand...

    Dynamic Web Projects | LOBTools | WebContent | WEB-INF | src | lzx | commerce | shell | ConfigProperties.lzx

  3. Within the ConfigProperties.lzx file, locate this string:

    <attribute name="defaultPreferredStore" type="string" value="" />defaultPreferredStore

  4. Add the store name as the value for defaultPreferenceStore.

    For example, if the store name is MyStoreName, specify...

    <attribute name="defaultPreferredStore" type="string" value="MyStoreName" />defaultPreferredStore

  5. Save your changes. WebSphere Commerce Developer saves the changes and compiles the code to produce an updated ManagementCenter.swf file under...

    WCDE_installdir\workspace\LOBTools\WebContent

    Note that compilation upon save is the default environment setting; if you have changed this setting, then explicitly recompile your changes.

  6. Test your changes by viewing them in the Management Center, using this URL:

    https://hostname:8000/lobtools