- Image resources
Image resources are graphic files that can be used throughout your application. While image resources can be GIF, JPEG, or BMP format, they are saved in IBMR LotusR Domino(TM) Designer as GIF or JPEG. An image resource can be used as a graphic or icon on pages, forms, subforms, action buttons, outline entries, and as background images on forms, documents, pages, table cells, and action buttons. For more information, see the topic "Creating an image resource" later in this chapter.
- Shared Fields
You can define a field for use on more than one form. For example, many forms have a creation date field; you can define this field once and reuse it. When you define a field as a shared field, Designer displays the field with a dark border and adds the field name to a list of shared fields available for use in a database. For more information, see the topic "Creating shared fields" in the chapter "Designing Fields."
- Non-NSF file resources
You can share non-NSF files within and across databases. For more information, see the topic "Sharing file resources" later in this chapter.
- Subforms
A subform is a collection of fields, graphics, buttons, and actions you plan to use in more than one form. For example, you might create a corporate letterhead in a subform and then use the subform on a variety of business forms. For more information, see the topic "Subforms" in the chapter "Designing Forms."
- Script libraries
A script library is a place for storing code that can be shared in the current application using LotusScript, JavaScript(TM), and Java(TM) or in other applications using JavaScript(TM) and Java(TM). Using script libraries allows you to maintain code in one place. For more information about script libraries, see "Using script libraries" in the Lotus Domino Designer Basic User Guide and Reference.
- Shared Java(TM) files
For large Java(TM) applets with multiple files, it is most efficient to store some of the related files as shared resources in the database. When you set up files as shared resources, all the applets can use a single copy of the file, instead of each applet storing its own copy. Then, if a file requires updating, you only need to update one file. For more information, see the topic "Setting up shared applet resources" in the chapter "Including Java Applets in Applications."
- Shared actions
Use shared actions in forms, pages, folders, or views to set up user-activated tasks. You can add shared actions to the Actions menu or as buttons on the action bar. In particular, actions let users complete tasks when accessing IBMR LotusR Domino(TM) databases on the Web. For more information on shared actions, see the topic "Creating and inserting shared actions" in the chapter "Adding Automation to Applications."
- Cascading style sheets
You can browse your local file system for a cascading style sheet (CSS) and insert one into a page, form, or subform. For more information, see the topic "Creating style sheets as shared resources" in the chapter "Designing Pages."