Adding Domino service data objects

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.

  1. Open a Faces JSP file.
  2. 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.
  3. In the Name field, type the name of your data object.
  4. (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.
  5. (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.
  6. Click Next. The Connection page displays.
  7. In the Server field, type the host name or IP address. Do not enter the Domino server name.
  8. 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.
  9. Click Connect to server. Your connection status displays, for example, currently connected to DomServer1 as MyUserName.
  10. Click Next. The Domino Database page displays.
  11. 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.
  12. Complete one of the following steps:
    1. 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.
    2. 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:
Related concepts
Domino data access
Related tasks
Testing EIS portlets in a WebSphere Portal 5.1 Test Environment
Feedback
(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.