Composite applications are all about reuse of components and mix & match of components. In order to prove this model we're working on several components that can be used in custom applications. In 8.0.1 we've planned to ship a new 'recent collaborations component' and a 'side calendar view component'. Qian Liang is a technical lead in the Notes PIM team and Hui BJ Li is a developer in his team. They've implemented this feature and wrote the text below.
We add two new PIM components in Notes 8.0.1: Notes Recent Collaborations View and Notes SideCalendar View. You can find them in component palette in CAE:
1. Notes Recent Collaborations View:
Recent Collaborations View is a view that show recent collaborations with someone, it searches recent collaborations history according to collaborator name.
You can set collaborator name through two way:
1. Set component property (com.ibm.rcp.csiviews.viewpart.collaboratorname) in CAE, when view is opening, view will read this property and search recent collaborations by value of this property;
2. Recent collaboration view listening the property changed event, the value of property is the collaborator name. User can fire a property changed event to recent collaborations view, if recent collaboration view received a property changed event, it will search recent collaborations according to value of the property.
The collaborator name's format should be one of following:
a. A common name, such as "**** ***"
b. An email address, such as "*****@***"
c. Canonical name, such as "CN=***/OU=***/O=***"
d. Notes ID name, "***/***/***"
Recent Collaborations View providers one input action:
|Action Name||Input property name.||data type|
Integrating Notes Recent Collaborations View and Notes Contacts View as the example to show how to use this component:
a. Create a new Composite application and edit in CAE. Drag the Notes Contacts Views and Notes Recent Collaborations View components into application:
b. Right click on Notes Contacts View to wire properties:
c. Close CAE, open this application:
Notes Recent Collaborations View provides two new component properties:
|com.ibm.notes.ui.recentcollaborations.viewpart.isshowbusinesscard||Should be true or false|
2. Notes SideCalendar View:
In Notes 8.0, SideCalendar is only in sidebar pane. In Notes 8.0.1, we will provide SideCalendar view as a component that can be configurable in CAE.
How to use Notes SideCalendar View component:
a. Create a new Composite application and edit it in CAE, you will find the new component Notes SideCalendar View in component palette.
b. Drag the Notes SideCalendar View component into application.
c. Open the application:
Notes SideCalendar View provides one new component property:
|com.ibm.rcp.csiviews.viewpart.folderstyle||Should be "List" or "CALENDAR"|