Make your existing NSF a composite

I figured I would post this since it was asked many times in the Meet the Developer Lab down at Lotusphere.  I will also, as promised, be posting some tutorials about the applications shown in AD202.

So you have an existing NSF and you want to make it a composite for any number of reasons.  Mostly, I had heard were to get Eclipse views, Java views, or XPage components next to their existing NSF based components or putting XPage components in the side bar.  It is actually a lot simpler than you may think.  The first thing to do is open the database in Designer and look for the “Composite Applications” entry in the designer elements tree.  You will then double click on “Applications“:

ca-in-existing-nsf

You will then get to choose a name for your composite and save it off.  That is it!

ca-in-existing-nsf-2

You now have a composite inside the NSF.  If you want to edit the layout and add pages and components to the composite you will need to edit it in the Composite Application Editor (CAE).  The CAE is an optional installation when  Lotus Notes is installed, this will need to be installed on the system in order for you to edit it.

You then have to change the launch settings for the NSF.  This can be done in the database properties right from within Designer.  Here you can see in the Application Properties in the Launch tab we simply set the launch type to be “Launch as a composite application“:

ca-in-existing-nsf-3

The database now opens directly to the “Blank Page” when opened from the Notes client.  If CAE is installed you then select “Actions | Edit Application” from the top menu in the Notes client.

ca-in-existing-nsf-4

From here you can use the CAE to lay out your application.

If you want some great tutorials look at the Composite Application Wiki to get started, Tutorials.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s