ShowTable of Contents
In this workshop the student will get familiar with the Notes Document container. Notes Document container is a new feature added in Notes 8.5.1 to enable the user add Notes document into a composite application and make it to communicate with other component through property broker. The student will walk through the creation of a composite application and demonstrate how data from a PIM calendar view component can be integrated with Notes Document container component. The conceptual use case for this application is the data in each selection of the meetings in the PIM calendar view component is carried over into the Notes Document container component. The Notes Document container then shows the detail of the meeting selected in PIM calendar view and the user can then update the meeting into within the composite application side by side. You can download this full tutorial using the Symphony document version of it attached to this page.
Steps to create application
Lotus Notes 8.5.1 is needed and please make sure Composite Application Editor feature is also installed
– Creating the composite app
Click File menu and select “Application | New…” to open New Application dialog
Type the name of the composite application (e.g., MyNewCA) in the Title field, the filename will be automatically created in File name field
Choose the template of the composite application as -Blank Composite Application-
Click [OK] button. That will open the composite application in the Lotus Notes client.
Now select the menu option “Actions | Edit Application” to open the application in the Composite Application Editor (CAE).
– Assembling the application
Under the CAE Palette on the right of the CAE editor, drag the “Notes Calendar View” component (under PIM category) onto the empty canvas. The calendar is shown in the canvas area with some scheduled meetings displayed. (If no meeting is scheduled, click “New” button above to create some meetings.
In the tree on the left, right click on the newly added component and select “Edit Component Properties”
In the advanced properties screen we will rename our component as “My Calendar” under the Component Settings tab.
Now drag the Notes Document container onto the screen and make it appear to the right of the “My Calendar” view
Right click on the newly added component in the left tree and select its “Edit Components Properties”. Change the name and description of the component to “My Meeting” and click [OK]
*Notice the "Close policy" option on the panel. This tells the client how the close behavior should be when the document is closed or sent. You can change this option for your specific use case. For instance, when the document is opened in another comp app page you might want to choose "close perspective".
– Wiring the components together
We will only be wiring from the My Calendar view to the My Meeting view in this exercise. We will use the new wiring UI in the Notes 8.5.1 client. You will drag the wire icon from the left My Calendar view to the title bar area of the My Meeting view.
The result should be a dialog similar to the following will appear
Now we simply match the output properties from the My Calendar component with the input actions of the My Meeting component. Select with the “Notes url changed” property:
Once the property and action fields are filled in simply click the “Add Wire” button to add the new connection.
Your application should be fully functional at this point! Close the CAE and save the application to experience it in the runtime.
– Run the composite application
Click on different meeting invitations shown in My Calendar component on the left side, the meeting detail info will show automatically in My Meeting component on the right side.
The meeting description can be updated in My Meeting component within this composite application and can be saved.
In this workshop, you learned how to create a side-by-side calendar by wiring a Notes PIM container with a Notes Document container inside a composite application. The Notes Document container can display the detail info of the meeting invitation in the calendar and enable the user to update the info content just inside the application.