Show TOC

Configuring Context Variables for Hybrid App PackagesLocate this document in the navigation structure

The administrator can change some of the values of a selected variable, should the design-time value need to change for a production environment.

Context

Which values are configurable depends on whether the developer hard-coded a set of user credentials or used a certificate.

Procedure

  1. In the left navigation pane, expand the Hybrid Apps folder and select the Hybrid App package to configure context variables for.
  2. In the right administration pane, click the Context Variables tab.
  3. Select the context variable to configure, then click Modify.
    Context Variable Description
    SupUser The valid Hybrid App application user ID that SAP Mobile Server uses to authenticate the user. Depending on the security configuration, SAP Mobile Server may pass that authentication to an EIS.
    SupDomain The name of the domain that the Hybrid App package is deployed to.
    SupUnrecoverableErrorRetryTimeout After sending a JSON request to SAP Mobile Server, if you receive an EIS code that indicates an unrecoverable error in the response log, the Hybrid App client throws an exception. A retry attempt is made after a retry time interval, which is set to three days by default. Select this property to change the retry time interval.
    SupThrowCredentialRequestOn401Error The default is true, which means that an error code 401 throws a CredentialRequestException, which sends a credential request notification to the user's inbox. If this property is set to false, error code 401 is treated as a normal recoverable exception.
    SupThrowBadHttpHeadersOn412Error The default is true, which means that an error code 412 throws a BadHttpHeadersException,. If this property is set to false., error code 412 is treated as a normal recoverable exception.
    SupRecoverableErrorRetryTimeout After sending a JSON request to SAP Mobile Server, if you receive an EIS code that indicates a recoverable error in the response log, the Hybrid App client throws an exception. A retry attempt is made after a retry time interval, which is set to 15 minutes by default. Select this property to change the retry time interval.
    SupPassword The valid Hybrid App application user password that SAP Mobile Server uses to authenticate the user. Depending on the security configuration, SAP Mobile Server may pass that authentication to an EIS. An administrator must change development/test values to those required for a production environment.
    SupPackages The name and version of the MBO packages that are used in the Hybrid App. This cannot be changed.
    SupMaximumMessageLength Use this property to increase the allowed maximum Hybrid App message size. Limitations vary depending on device platform:
    • For BlackBerry 5, the limit is 512KB.
    • For Windows Mobile the limit is 500KB.
    • For BlackBerry 6 and Android, the limit depends on the memory condition of the device. Large message may result in an out of memory error.
    SupWorkflowVersion The version number of the Hybrid App package.
  4. In the Context Variable dialog, change the value of the named variable and click OK.