Describes how to define Notes view columns that publish properties.
In this task, you add a property to a new column of a specific IBM Lotus Notes view. When this view is used in a composite application, the property will be published when any row in that view is selected; the property value will be the column value for the selected document. You will use one procedure to accomplish the following tasks:
- Add a new column to the All Documents view.
- Set the properties of the new column to publish a property.
In later tasks, you will assemble and wire the composite application and specify which component consumes this property and the action associated with the consumption.
Complete the following steps to add a new column and set the column properties to publish a property.
- In IBM Lotus Domino Designer, click File > Application > Open and select MyDiscussion.nsf from the field list.
- Click Views in the design pane on the left to display the view list.
- In the view list, select All Documents from the view Name column and press Enter to open the view in design mode.
- Click Create > Append New Column to add a new column to the right of the existing columns.
- Type "Categories" in the Title field.
- Select this newly added column and click the Field radio button option in the programmers pane at the bottom right corner.
- Select Categories from the list. This action specifies that this newly added column will display the contents of the categories field for the listed document.
- Select this newly added column and click Design > Column Properties to open the properties box.
- On the last tab, at the bottom of the box, select DiscussionSample for the Composite Settings Property value from the drop down box.
- Click File > Save to save your changes to this view.
- To see your changes, click Design > Previewin Notes. The view appears in Lotus Notes. You see the newly added column that lists the categories values for the documents you created in the first example task.
You may need to scroll to the right in the view to see this newly added column.
If you entered a Title for the property in the Property Broker Editor, then you would see that text here instead of the property name.
You have added a property to your Notes application. Later when this Notes view is used as a component in a composite application, the property you selected can be wired to the action of another component to support inter-component interaction through Lotus Notes property broker functionality.
Tasks described in the simple composite application example
Defining Notes actions that consume properties