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 only available if the Input Type is set to Drop Down.
Select All - selects all parameters.
Deselect All - deselects all parameters.
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:
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.
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. The user 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 and Grid. When using the username/password autofill adapter, you must select Password (rather than Text Field) for this option.
Autofill Adapter - retrieve values from external systems or databases and automatically submit them to the mobile application. They must be registered with Mobile Studio 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 only available when the parameter is 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 - specify whether the parameter is required.
Enter Setup Description HTML - this option appears only in the Configure Parameters wizard located on the main parameter page, not for each parameter.
Send your feedback on this help topic to Sybase Tech Pubs: pubs@sybase.com