Skip to main content link. Accesskey S
  • Log In
  • Help
  • IBM Logo
  • IBM Composite Applications wiki
  • All Wikis
  • All Forums
  • Home
  • Product Documentation
  • Community Articles
  • Learning Center
  • IBM Redbooks
Community Articles Product Documentation Learning Center IBM Redbooks This category Custom Search Scope...
Search
Community Articles > Capturing Components > Using the Symphony Spreadsheet container to add spreadsheets to composite applications
  • New Article
  • Share Show Menu▼
  • Subscribe Show Menu▼

About the Original Author

Michael Stewart
Contribution Summary:
  • Articles authored: 2
  • Articles edited: 4
  • Comments Posted: 0

Recent articles by this author

Using the Symphony Spreadsheet container to add spreadsheets to composite applications

The Symphony Spreadsheet container allows you to add spreadsheets supported by Lotus Symphony to composite applications, so they can exchange data with other components. Lotus Symphony supports OpenOffice 1.0 and 2.0 spreadsheets (.sxc, .ods), Excel spreadsheets (.xls), and Lotus 1-2-3 ...

Using the Host On-Demand container in composite applications

==Introduction== The Host On-Demand container provides access to IBM Host On-Demand applications from within a composite application. It integrates with the generic container framework provided by the platform and uses the concepts of landmarks, events and actions provided by this framework. ...

Community articleUsing the Symphony Spreadsheet container to add spreadsheets to composite applications

Added by Michael Stewart | Edited by IBM contributor Deanna Drschiwiski on October 11, 2009 | Version 24
  • Edit
  • More Actions Show Menu▼
Rate this article 1 starsRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars
expanded Abstract
collapsed Abstract
No abstract provided.
Tags: containers, container components, Notes components, Symphony, Symphony view component
The Symphony Spreadsheet container allows you to add spreadsheets supported by Lotus Symphony to composite applications, so they can exchange data with other components. Lotus Symphony supports OpenOffice 1.0 and 2.0 spreadsheets (.sxc, .ods), Excel spreadsheets (.xls), and Lotus 1-2-3 spreadsheets (.123). The Symphony Spreadsheet container is built on the Generic container framework.

To enable a preview of this functionality in Lotus Notes 8.5, you must install the Symphony Spreadsheet container. For installation instructions, see Composite Application Generic Containers and Utilities.

Adding and configuring the Symphony Spreadsheet container

Use the Composite Application Editor to add the Symphony Spreadsheet container to a composite application, and to create and view landmarks and actions.

To add the container, drag it onto the application from the Containers folder in the Component palette.

Specifying a spreadsheet for the container

You can configure the container to work with a local or remote spreadsheet document. Remote documents can be cached locally so that changes made to them are not lost. When the component is reloaded the locally cached document will be used.

To specify a spreadsheet document, use the Component Settings tab of the Edit Component Properties dialog.



Specify the location of the spreadsheet document in the Initial File field, browsing for the file if necessary. The location can either be the absolute path of a local file or a remote URL. To cache a remote file locally, click Cache File.

Note: You can also specify the location of the spreadsheet in the container configuration in plugin.xml, as the value of the targetBuilder expression attribute. If you specify the location in both plugin.xml and the component properties dialog, the value in plugin.xml takes precedence.

Adding actions

Once you have added the spreadsheet container to your application and specified the spreadsheet you want to access, you can use the Composite Application Editor toolbar to define data exchange actions that should be triggered when specific events occur.



On the toolbar, perform the following steps:

1. In the Composite Application Editor toolbar, use the Select Events drop down to select the events that will trigger the action.



The Symphony Spreadsheet container supports the following events:
  • contentComplete – This event occurs when the active sheet changes. All actions in this event are executed serially.
  • dataChange – This event occurs either when a property change is coming into the container or when a cell value has changed.
  • viewInit - This event occurs when the specific component (the view part) opens initially.
  • viewClose - This event occurs when the specific component (the view part) closes.
2. In the Select Action drop down, click the action to be added.



3. Use the Select/Create Property combo to define a new property or select an existing property.



4. In the Selected Field field, enter the field expression or select a named range from the drop down list. The field is automatically populated with the field expression for the range currently selected on the sheet.



Fields are essentially absolute or named cell ranges. The container supports the following formats:
  • $<Column
     
    $<Row
     
    - E.g. $A$1
  • $<Column
     
    $<Row
     
    :$<Column
     
    $<Row
     
    - E.g. $A$1:$B$10
  • !<Sheet name
     
    $<Column
     
    $<Row
     
    - E.g. !MySheet$A$1
  • !<Sheet name
     
    $<Column
     
    $<Row
     
    :$<Column
     
    $<Row
     
    - E.g. !MySheet$A$1:$B$10
  • #<Named range
     
    - E.g. #MyRange
5. Click the Add Action button.



6. Repeat steps 1-5 to add more actions.

7. Click the Save and apply changes button.


Viewing actions

Use the Display fields button to display cell ranges that correspond to field expressions defined for the current landmark. The displayed fields can be filtered using the other components of the toolbar.



For example, to display all fields associated with a particular property, perform the following steps.
1. Click ‘Filter by Property’.
2. Click the property on the properties dropdown.
3. Click the Display fields button.
Any matching cell ranges will be selected.

Landmarks in the Symphony Spreadsheet container

Composite application containers use landmarks to define data exchange actions that should occur for different events, in different areas of the contained application. The Symphony Spreadsheet container supports only the Spreadsheet landmark identifier type, and uses sheet names for landmarks. The active sheet name is the current landmark, and actions you specify for that sheet are automatically associated with the corresponding landmark. If you edit the component properties, the landmarks and actions you have created through the toolbar appear on the L andmarks tab, where you can edit them further if needed.

For general information about defining landmarks in the Composite Application Editor, see "Creating landmarks for container components" in the IBM Lotus Notes information center.


  • Edit
  • More Actions Show Menu▼


expanded Attachments (0)
collapsed Attachments (0)
Edit the article to add or modify attachments.
expanded Versions (23)
collapsed Versions (23)
Version Comparison     
VersionDateChanged by              Summary of changes
This version (24)Oct 11, 2009 7:48:05 PMDeanna Drschiwiski  IBM contributor
23Jan 16, 2009 7:12:05 AMMichaelK Stewart  IBM contributor
22Jan 16, 2009 7:10:41 AMMichaelK Stewart  IBM contributor
21Jan 15, 2009 9:10:23 AMMichaelK Stewart  IBM contributor
20Jan 15, 2009 7:10:40 AMMichaelK Stewart  IBM contributor
19Jan 15, 2009 7:08:38 AMMichaelK Stewart  IBM contributor
18Jan 14, 2009 3:34:17 PMMichael Masterson  IBM contributor
17Jan 13, 2009 4:33:37 PMMichael Stewart  IBM contributor
16Jan 13, 2009 4:26:28 PMMichael Stewart  IBM contributor
15Jan 13, 2009 4:22:07 PMMichael Stewart  IBM contributor
14Jan 13, 2009 4:21:17 PMMichael Stewart  IBM contributor
13Jan 13, 2009 4:12:58 PMMichael Stewart  IBM contributor
12Jan 13, 2009 4:11:48 PMMichael Stewart  IBM contributor
11Jan 13, 2009 4:09:54 PMMichael Stewart  IBM contributor
10Jan 13, 2009 4:07:44 PMMichael Stewart  IBM contributor
9Jan 13, 2009 4:05:41 PMMichael Stewart  IBM contributor
8Jan 13, 2009 4:01:57 PMMichael Stewart  IBM contributor
7Jan 13, 2009 3:57:59 PMMichael Stewart  IBM contributor
6Jan 13, 2009 3:56:39 PMMichael Stewart  IBM contributor
5Jan 13, 2009 3:56:39 PMMichael Stewart  IBM contributor
4Jan 13, 2009 3:54:07 PMMichael Stewart  IBM contributor
3Jan 13, 2009 3:43:02 PMMichael Stewart  IBM contributor
1Jan 13, 2009 3:35:34 PMMichael Stewart  IBM contributor
expanded Comments (0)
collapsed Comments (0)
Copy and paste this wiki markup to link to this article from another article in this wiki.
Go ElsewhereStay ConnectedHelpAbout
  • IBM Collaboration Solutions wikis
  • IBM developerWorks
  • IBM Software support
  • Twitter LinkIBMSocialBizUX on Twitter
  • FacebookIBMSocialBizUX on Facebook
  • ForumsLotus product forums
  • BlogsIBM Social Business UX blog
  • Community LinkIBM Collaboration Solutions
  • Wiki Help
  • Forgot user name/password
  • Wiki design feedback
  • Content feedback
  • About the wiki
  • About IBM
  • Privacy
  • Accessibility
  • IBM Terms of use
  • Wiki terms of use