Changing the maximum number of stores listed in Management Center and store preview

By default, a maximum of 10 stores are listed in the Select Store list in Management Center, and a maximum of 10 store URLs are listed in the Store Preview Options window. You can change the maximum to a different number by updating the maximumStoresInList attribute in the ConfigProperties.lzx configuration file for Management Center. This attribute controls the length of both lists.

Procedure

  1. Open WebSphere Commerce Developer and switch to the Enterprise Explorer view.
  2. In the Enterprise Explorer view, expand LOBTools > WebContent > WEB-INF > src > lzx > commerce
    shell > ConfigProperties.lzx.
  3. Within the ConfigProperties.lzx file, locate the following string:

    <attribute name="maximumStoresInList" type="number" value="10"/>

  4. Change the value to a different number.
    For instance, to increase the maximum to 30 stores, update the value as shown in this example:
    <attribute name="maximumStoresInList" type="number" value="30"/>

What to do next

After you change the value, complete the following steps,
  1. Right-click LOBTools Project; then click Build OpenLaszlo Project to produce an updated ManagementCenter.swf file under the workspace_dir\LOBTools\WebContent directory. This setting is the default environment setting.
  2. Test your changes by viewing them in the Management Center, using this URL: https://hostname:8000/lobtools.
  3. Deploy your changes to your production environment.