Setting CGI Parameters

Use the Mobile Application Configuration dialog to set the CGI parameters.

A CGI program, or script, allows users to interact dynamically with Web pages; for example, it allows them to submit a string to a search form. When parameters are submitted to a CGI script to navigate to the Web page, the program automatically detects these parameters and their values. You can designate one or more CGI parameters as variables. Mobile applications with variable parameters display a window containing input fields for these parameters before mobile application content is rendered. This allows users to submit their own parameter values to return personalized content.

When the element contains data-capable parameters, a window displays during the element creation process that displays all parameters that you can designate as variables.

The Parameter page allows you to quickly select which parameters are visible in the mobile application by using these check boxes:

Whether you access the parameter configuration windows during mobile application creation or by selecting the Parameters window from the Mobile Application editor, you can edit the following parameter properties:

Parameter properties

FieldDescription
Display Name

Enter an alternate name to use as the input field label.

You can assign two or more parameters the same display name to combine input parameters. When you are prompted to enter input for the parameter, that input is used to fill in all the parameters with that display name, saving retyping.

Default Value

Enter a default value to automatically populate the input field. You can override this value by typing in a different value.

Input Type

Select the input field type for this parameter: Text Field, Calendar Date, Password, Text Area, Drop Down, Boolean, Grid, and Linked.

Note

There can be only one linked application across all parameters that use the linked input type, so setting it once sets it for all linked parameters.

Autofill AdapterRetrieve values from external systems or databases and automatically submit them to the mobile application. They must be registered with the UA server before they appear in the Autofill Adapter drop-down. Once an autofill adapter is selected, the adapter's available methods display in the Autofill Key drop-down
Autofill KeySelect a method to specify the parameter within the autofill adapter.
KindSelect whether this is a Search or Update parameter.
ComponentSelect the mobile application to apply to the parameter value on playback. This option is available when the parameter is Linked or a Grid Input Type and Update Kind.
TemplateSelect the template to apply to the parameter value on playback.
OrderThe order in which you want them to display on the set up page.
RequiredSelect this box to specify whether the parameter is required.

Configuring Mobile Applications

Linking Parameters

Validating Data

Send your feedback on this help topic to Sybase Tech Pubs: pubs@sybase.com