This section assumes you have configured the Domino data source connection as described in the Unwired Accelerator Administration Guide.
In the Application Builder, click the down arrow next to the Add button and select Domino Element.
In the Domino Element Definition window:
Select the Connection Type:
Connection Pool – allows you to choose from a list of preconfigured connection pools. The list of available preconfigured connections comes from the list specified in global.properties.xml.
Domino URL – allows you to manually configure connection properties. The user gets relevant fields based on the ConnectionType value selected in global.properties.xml:
For WebSession:
Database Path – the path to
the Domino database, such as HelpdeskSystem.nsf
.
Username – the Domino user name.
Password – the internet password; for example, sybase
.
For DIIOP:
Server – the Domino server;
such as ua-dom1.sybase.com
.
Port – DIIOP port value, such as 63148
.
Database Path – the path to the Domino
database, such as HelpdeskSystem.nsf
.
Username – the Domino user name.
Password – the internet password; for example, sybase
.
For NRPC:
Server – the Domino server;
such as ua-dom1.sybase.com
.
Database Path – the path to the Domino
database, such as HelpdeskSystem.nsf
.
User ID file – the Domino administrator’s
user id file, such as //ua-dom1/cdata/admin.id
.
Password – the ID file password; for example, sybase
.
Click Find. The “View,” “Agent,” and “Field” names from the View selection boxes are populated, according to your selection.
In the Domino Element Definition window, under “Application Type,” indicate whether to use Views to filter a Domino view, or to capture data using an agent:
Using Views to filter a Domino view:
Select View to filter on Domino Views.
Select a View name from the drop-down list; for
example, Help desk View
.
Optionally, select a UI XSLT template, and return to the Domino Element Definition window.
Using Agents to capture data:
Select Agent to use an agent to capture data.
Select the appropriate Agent name to use. The agent returns data to be captured.
For information about agents, see “Understanding UA-Domino agent data flow” and “Sample code for Domino agents”.
To pass parameters to the Agent:
Select “Field names from View” if you want parameters to come from a Domino View, or
Select a view name from “Field Names using View” drop-down
list; for example, Help desk View
.
Select “Input Parameter” if you want to specify Custom parameters.
Enter values as name value pair.; for example, param1=value1,param2=value2
and
so forth.
Optionally, select a UI XSLT template, and return to the Domino Element Definition window.
In the Domino Element Definition window, click Preview to view the document for the selected options.
Click Next.
In the Define window, define the record layout and specify a record header. See “Defining record layout”. Click Next.
In the Filter window, specify filter rules to select only the relevant data from the element. See “Adding filter rules”. Click Next.
The Configure Parameters window displays the element’s CGI parameters. See “CGI parameters” and “Using the database table adapter”. Click Next.
While creating update applications, UA requires you
to pass NoteID and Form fields to the agent. On the parameter definition
screen, select the Type as “None” and Kind as “Update”.
This will pass the NoteID and Form field values to the agent, but
will not permit the user to modify it.
In Window Preview, enter an element name.
Click Finish, then Close to return to the Application Builder.
In the Application Builder, click Save. See “Saving applications”.