Lotus: Storage of NSF based Composite Applications in NFSs

THEMES: Lotus\Notes/Domino 8 | Lotus\Composite Appl...
YEAR: 2007
Login Login
User: Anonymous


LABEL: Composite Application | Lotus Notes 8 | Lotus Notes API
ORGANIZATIONS: IBM
 

Comments/attachments: Close
 
Resources
Storage of NSF based Composite Applications in NFSs
http://www-03.ibm.com/developerworks/blogs/page/CompApps?entry=storage_of_nsf_based_composite&ca=drs-bl

Lotus Notes 8.0 allows to store composite application definitions (CA XML) in Notes databases. A new design view and design note has been added to Domino Designer under 'Composite Applications-Applications':



As you can see one NSF can contain between 0 and N composite application definitions. Each composite application is stored in a separate design note. In order to edit this note you cannot doubleclick as on other design notes. Instead you need to open the composite application in Lotus Notes first and then start from there the Composite Application Editor.

There are different ways to create NSF based composite applications. Creating new NSF based apps means creating empty composite application definitions with only one empty page 'blank page' in them and no components. This is the same thing that happens when you create a new composite application instance on WebSphere Portal based on the blank template.

- There is a new 'virtual' Notes template that can be used to create a new NSF that contains one empty composite application definition.



- The 'New Comp App' button creates a new composite application definition in a database.

- The 'Import' button allows importing a CA XML file that has previously been exported from another database. The CA XML has not been published though.

- As with other design notes you can also copy and paste notes from other databases.

Since composite application definitions are stored as Notes design notes you can also put them in NTFs and inherit them in NSFs when the NTFs change. This essentially also allows you to have composite application templates as on Portal by just using NTFs. However there is no notion of composite application variables for NSF based apps that you can set in Portal based apps when initializing new instances.

Niklas