In this procedure, create an application called RemedyLinkedParams
,
which enables you to link UA applications with the Remedy data source
table of chained parameters. You can watch a demo on Try Sybase. Scroll down to Appendix A, “Multilevel
lookups in Remedy” and select the “Linked Parameter
Lookup application: Category and Location” link.
Creating the RemedyLinkedParams application
Before you start, locate the Web application. If the Web application is part of a WAR file, unzip the WAR file within the ...\onepage directory structure. For this example, skip to the next step.
From Mobile Web Studio, select Build | Applications in the left pane, select New in the Applications Manager Status menu, and click the New button.
In Application Builder, click the down arrow to the right of Add, and select JSP Element.
In the JSP Element Definition window, select Use Web Application to use a Web application archive (WAR) file that is on the application server. Then make these selections (accept the default entries for all other fields):
WAR file – enter onepage.jar
.
Web App Display Name – enter onepage
.
Enter the Initial Resource – enter the path to the Web application, in this case, /portlets/samples/RemedyLinkedParam.jsp.
Enable Grid Rules – select to enable the use of grid rules. See the UA 8.0 Developer’s Guide for information about using grid rules.
Select Preview. The five-column table displays. This ensures UA can see the Remedy WSDL.
Figure 12: RemedyLinkedParams application
Click Next.
In the Define window, select Records Contain Labels,
accept 1
to indicate the
first row is a header row and not a data row, and click Next.
In the Filter window, click Next.
In the Preview window, in Element Name, enter RemedyLinkedParams
, and
click Finish.
In Application Builder, click Save.
On the Finish window, click Finish, and click OK to confirm.
Click Close in the upper-right corner to close the Application Builder window.
When you return to the Mobile Web Studio main window,
select New from the Application Builder Status menu. The RemedyLinkedParams
application
displays in the detail pane.
In Mobile Web Studio, right-click the RemedyLinkedParams
application in
the detail pane, and select Approval Status | Approved.
Click OK.
Select Approved from the Application Manager Status
menu. You see the newly approved RemedyLinkedParams
application
in the detail pane.