Configuring Context Variables

Configure context variables to customize how data is loaded into the Unwired Server cache. By determining the context variables you want to use, you may create a data set that is smaller, more focused, and yields better performance.

Developers define context variables for the mobile business object. The administrator can change some of the values of a selected variable, should the design-time value need to change for a production environment. Which values are configurable depends on whether the developer hard-coded a set of user credentials or used a certificate.

  1. In the left navigation pane, click Workflows > MyWorkFlow.
  2. In the right administration pane, click the Context Variables tab.
  3. To change the password or a certificate:
    1. Select SupPassword and click Modify.
    2. Type a new production value for the password.
      The characters you enter are obfuscated upon entry.
    3. If you want to select a new certificate file, click Browse to upload a production version of the certificate then click OK.
      The read-only values of SupUser, SupCertificateSubject, SupCertificateIssuer, SupCertificateNotAfter, SupCertificateNotBefore change to reflect values of the new certificate and password you set.
  4. To change values of a hard-coded set of user credentials:
    1. Select one or both of the variables: SupUser or SupPassword, and click Modify.
    2. Type the new value and click OK.
  5. In the Context Variable dialog, change the value of the named variable and click OK.