User Preference Persistence

When using a WCC application, user preference data is always stored on the server. This includes things like view definitions, column settings, information on the Options dialog, list filter and sort settings, etc.

The UserPreferencePersistence parameter is used to set the maximum number of bytes for the user preference data. This value needs to be set at or below the field size supported by the database used on the server.

If this value is too small, processing the data at the server will be inefficient; if it’s too large, the database will throw an exception when is attempts to parse the message containing user preference data.

Note that the character encoding used should be taken into consideration when determining the maximum data size.

Procedure

  1. Open the config.xml file.

    For information about how this file should be opened (i.e., via the Configuration Administrator or via the file system, see Introduction).

  2. Locate the UserPreferencePersistence record in the config.xml file. For example:
    <record jsxid="UserPreferencePersistence" type="Workspace"        maxDataSize="1992"/>
  3. Set the maxDataSize attribute to the maximum number of bytes for the user preference data.

    Default = 1992 if attribute is absent

    Minimum value = 10

  4. Save and close the config.xml file.