These instructions guide you through the process of connecting
to a Domino® source
and specifying a data object for use in your application. With Domino, you
can either add a view or a note.
- Open a Faces JSP file.
- From the Data palette, click on either Domino view or Domino
note and drag it to the JSP file. The Domino View
or Domino Note
wizard opens.
- In the Name field, type the name of your data object.
- (Optional) If you are reusing information from a previously created
object, select Reuse metadata definition, then enter
the input file name or click Browse to find the file.
To reuse information, the existing metadata file must be imported into the
workspace before you can select it using the wizard.
- (Optional) If you want to automatically add data controls, select Add
input/output controls to display the view on the page. For Domino notes,
you have the option of creating controls for displaying or updating an existing
note or creating a new note.
- Click Next. The Connection page displays.
- In the Server field, type the host name or IP address. Do not enter
the Domino server
name.
- In the Development section, type your Domino user name and password. The password
is the HTTP password as defined in the your person document in the Domino Directory.
- Click Connect to server. Your connection
status displays, for example, currently connected to DomServer1 as
MyUserName.
- Click Next. The Domino Database page displays.
- Select a database, then click Next.
Note: For views, the View page displays with a list of all the defined
views and their associated columns from the Domino database. For notes, the Form
page displays with a list of defined forms and their associated fields.
- Complete one of the following steps:
- For views, select a view and any of its columns, then click Finish.
Optionally, you can click Next to make changes to the
way the columns display.
- For notes, select a form and any of its fields, then click Next.
The Filter page displays where you enter a condition for filtering query results,
then click Finish.
From the Page Data View, you can see the Domino views and forms that were added
to the page, for example, View1 (Service Data
Object) and Form1 (Service Data
Object). The form fields can contain multiple values which are
marked as multi-value. If you right-click in the Page Data
View and select New there are two new items, Domino Note
and Domino View.
These components also display on the New data component page when you click
the New Component icon.
Editing your Domino SDO
To make changes to the metadata
in the Domino SDO
object you just created, follow these steps:
- In the Page Data view, right-click on your Domino view or Domino note node and select Configure.
The Domino View
or Domino Note
wizard opens.
- Make any changes, then click Finish to complete.