Linking parameters

Unwired Accelerator enables you to set up chained relationships among field/parameter values. This makes it easier to create and update applications.

This is also useful when integrating Unwired Accelerator with Remedy, or another enterprise application or data source. For example, on the Remedy Administration GUI, you have many drop-down fields to choose from, and the values of some drop-down fields you select can affect choices in other fields. Linking parameters provides a way to imitate the Remedy Administration GUI, by linking a field to its data source. Additionally, on the mobile device, the drop-down options are available to the user.

Unwired Accelerator supports many data sources, including the following, for linked parameters:

However, these data inputs must be converted into a grid table in one specific format by utilizing any efficient transformation method (for example, using an XSLT template for an XML document) and querying the database table using proper SQL.

Unwired Accelerator provides support for the XML document data source, and a built-in XSLT template to do this transformation. A sample XSLT template is provided for XML document data source:

%SYBASE%\tomcat\webapps\onepage\portlets\samples\linkedparameters.xml

This example is generated using real data from Remedy application. Its schema is located at:

%SYBASE%\tomcat\webapps\onepage\schema\linkedparameters.xsd

Unwired Accelerator also provides a built-in XSLT template to generate grid table out of the XML document described above. To view the template, select Build | Templates | Approved in the left pane, and select Linked Parameters in the right pane. You can either click Edit to start the Template Editor, or click Preview to see the XML code.

See the Mobile Application Development Tutorial for detailed information and procedures for using linked parameters with Remedy mobile applications.

StepsLinking parameters

  1. In Configure Parameters tab, expose any parameters you need.

  2. Under Display Type, select Linked from the drop-down list. The Add and Clear buttons appear.

  3. Click Add, then find and select the application to which to link. This application is the data source. After you save and close the window, the linked application displays in the Component column.

    NoteYou can select multiple parameters and select Add, to link the application to multiple parameters.

  4. Repeat the procedure for any parameters you need.

    NoteTo remove a linked parameter, click Clear.

  5. Make any additional configuration parameter settings you require, and create or edit your application using regular procedures.

  6. In the Configure Parameters window, click Save.