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:
Edit – select a parameter and click Edit. Parameter properties are described below.
Build Drop Down – allows you to create a drop down of comma separated values for multiple display values. This option is available only if the Input Type is set to Drop Down.
Select All – selects all parameters.
Deselect All – unselects all parameters.
Import/Export – import an XML document that represents the parameters. This allows you to quickly make global changes to all fields. You will be prompted to accept or cancel the changes.
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
Field | Description |
---|---|
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. NoteThere 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 Adapter | Retrieve 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 Key | Select a method to specify the parameter within the autofill adapter. |
Kind | Select whether this is a Search or Update parameter. |
Component | Select 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. |
Template | Select the template to apply to the parameter value on playback. |
Order | The order in which you want them to display on the set up page. |
Required | Select this box to specify whether the parameter is required. |
Click Select This Parameter to Show up When the Mobile Application Plays to enable this parameter. Whenever you modify the parameter it is automatically enabled.
Enter Setup Description HTML – this option appears only in the Configure Parameters wizard located on the main parameter page, not for each parameter.
Click the Create Autofill Key button to open the dialog box where you can create a new autofill key. See Creating Adapter Keys.
Click Set My Key Value to open the dialog box where you can set the value for the autofill key.
Data Validation – use these fields to define data validation expressions. See Validating Data.
Send your feedback on this help topic to Sybase Tech Pubs: pubs@sybase.com