COMPOSITE APPLICATIONS - DESIGN AND MANAGEMENT


Creating a new discussion database and documents
The first task is completed by doing the following:
In later tasks in this example, you enhance this Notes discussion database to be used in a two component composite application that supplies inter-component communication through the property broker functionality.

Creating a new local Notes database based on the discussion template

Complete the following steps to create the new discussion database.

1. Start the Lotus Notes 8

2. Click File > Application > New.


3. Leave the Server field value at 'Local'.

4. Type "MyDiscussion" in the Title field.

5. Type "MyDiscussion.nsf" in the File Name field.

6. In the Template list, click Discussion > Notes & Web (7) in the Template

7. Deselect the 'Inherit future design changes' option.


8. Click OK to close the New Database dialog and create the new database.
9. Close the window tab titled About MyDiscussion. The default view of the newly created Notes application, MyDiscussion.nsf, appears in your Lotus Notes 8 client.

You have completed the first of the two procedures in this task.

Next, you will create documents in this new discussion database. These documents must have values in the Subject and Category fields to successfully complete the later tasks.

Creating documents in your new discussion database

Complete the following steps to create documents in your discussion database.

1. Click New Main Topic in the action bar. The Main Topic form appears. This is where you will specify the field values for the Subject and Category fields in the new document.

2. Type "Subject1" in the Subject field.

3. Type "Category1" in the Category field.

4. Click Save & Close in the action bar.


5. Repeat the previous steps until there are four documents in the database. The documents should have the following field values:
6. Switch to the By Category view to display your four documents listed by category field value.

You now have a new Notes discussion database with documents that have values in the subject and categories fields. You will use this database and the documents later in this example to demonstrate inter-component communication in a composite application.

See Also