This application can be used to install views, web services and plugins. With a slight modification, other design elements can be installed as well.



Installation of views and web services

—————————————————



In order to specify the views and web services to be installed, open the form 'fa_InstallMain_en'. In this form you will find fields to install (ChoiceViews, ChoiceWebservice) and to uninstall (RemoveViews, RemoveWebservices) the design elements. Additionally, you can change the install, setup and uninstall description.



If the installation process needs to verify whether the target application is of the correct type, you can specify the name of a design element for detecting the application type. This can be done in the field 'DatabaseTypes'.



Installation of other design elements

————————————————–



If you would like to install other kinds of design elements, such as forms or script libraries, you can customize this application to do so. In order to do this, you will need some knowledge of LotusScript.



Open the script library 'InstallCopyDesignElements' and switch to the function 'CopyDesignElements'. There you will find a section '// Views. Below this line is the code for copying the selected views from this application to the target application. You can copy this section, paste a new copy below the original section and change it as desired. This library uses the class 'DatabaseDesign' from the library 'InstallDBDesign'. This class provides functions for reading design elements, such as script libraries, subforms or forms.



Installation of plugins

—————————–



In order to install a plugin, add a composite application as an applet into this application. The composite application should contain the plugin. During installation process the composite application will be installed in the IBM Lotus Notes data directory. If you do not like this, you can change the path of the install directory. Open the script library 'InstallPluginSupportLib' and skip to the function 'InstallPlugin'. In this function you can specify the path and file name of the composite application where it will be installed.





You will find an example for the use of this application in the OpenNTF.org project Task Management.