Documentos de Académico
Documentos de Profesional
Documentos de Cultura
Forms
A form provides the structure for creating and displaying documents, and documents are the design element that store data in the database.
When a user fills out the information in a form and saves it, the information is saved as a document. When a user opens the document, the document uses the form as a template to provide the structure for displaying the data. Forms, like pages, display information. Everything that can be done with a Page can be done with a form. What sets Forms apart from Pages is that forms can be used to collect information.
Creating a Form
First open the database in the designer And click on Forms tab, in the design list & click the New Form button. All the existing Forms in the database will be displayed in the right side and also under the Forms title in the left side menu.
Form Properties
Right click on the form and select Form properties
Name of the Form with an Alias
Form Properties
Continuously updates information of all the field values which are dependent on the other field values Check this property to keep the authors/editors anonymous No initial focus when the document is opened Sign Documents that use this form To enter HTML directly on a form Field names will not be added to field index, if this property is checked Merge/Create replication conflict options
Form Properties
Inheriting field values from other documents is done by checking this property You can create a rich text field that inherits the full document as rich text. Document always opens in Edit mode if this checked Click this property to display the parent document to the end user in the preview pane of the notes client, from where the field exchange would take place If you want a mail send option box to appear while closing a document, click this option If you want to generate HTML content for all the hidden fields on web access, then click this option
Form Properties
Content type of the form when accessed thru web.
Form Properties
Set the following auto-launch properties for when a user opens up a document created with the form
Set the frameset that the form will be associated with and the frame within that frameset
Form Properties
You can add a background color for a form
You can paste or import bmp, gif or jpeg etc files as a background for a form
To hide the graphics in design mode
Form Properties
You can add properties such as Height and scrolling to the header
You can add a header to a form so that when the user scrolls down, the header remains at one head position Border properties between the header and the body can be set here
10
Form Properties
You can add a header/footer to a form which will be printed with all the documents printed from that form Various alignments for the header and footer e.g. left align or right align etc
Text properties( Font, Size, Style) for the header and footer
11
Form Properties
Those who have read access for the documents created with this form
Those who have create access with this form to create documents
12
13
14
15
16
17
Number - Use Number fields for numeric and currency data. Dialog List Users click on an icon to display a popup dialog box showing
the various choices
Radio button, Checkbox - These are similar to their HTML counter parts. List Box - Each choice is displayed with an expanded list box. Users click an
entry to select it.
Combo Box - Each choice is displayed with a drop-down list box. Users click
the drop-down arrow to see the entries and click the one they want.
Authors and Readers - Authors and Readers fields allow you to control
who can read and create documents created from a form
18
Rich text lite - Rich text lite fields are rich text fields with a helper icon
and down arrow next to the field. Clicking the icon gives the user a fast way to add an object into the rich text lite field. Clicking the down arrow displays a drop-down menu. The elements listed in the drop-down menu are the only elements the user is allowed to insert into the rich text lite field. Any attempt to insert or paste an invalid element into the rich text lite field displays an error message.
19
Color - A color field lets you display a color picker on a form. When the user
clicks the down arrow of a color field, a color chart appears with two tabs. The user can choose a color using either tab.
Time Zone - A time zone field lets you display a drop-down list of all available
time zones in the world, including the local time zone. Each time zone listed includes a partial list of the cities or locations found in that time zone.
20
21
22
23
24
The properties of the Horizontal Rule can be changed for attributes like
Color
Width Height
25
26
27
28
29
30
2. (Optional) To display tabs so users can switch rows, select "Also show tabs so user can pick row" on the Table Rows tab. 3. Format the table. 4. Enter text, graphics, or objects in the table. 5. Create links, a button, or an outline entry that will set the fields for the table and control what displays.
31
32
33
34
35
36
Java
You can write Java programs or import Java files into agents.
37
38
39
40
41
42
43
44
45
46
Embedded scheduler The embedded scheduler allows you to design a form or subform that displays the schedules of users. For example, you can create a form for users to schedule department meetings. Embedding a scheduler on the form lets users check everyone's schedules before planning the meeting time.
47
Note also that you should not use embedded editors in animated tables.
48
49
50
51
52
53
54
55
56
57
58
59
60
Views
A view is a collection of documents(data) in a database. It organizes documents by rows and columns. Each column displays a type of information about the document, such as author or date of creation. Each row displays selected pieces of information from one document. One column in the view is usually the organizing element -- for example, a column entitled Date might organize the documents in chronological order. In a discussion database, you might use a column entitled Topic to display the contents of the Subject field for each document in the view. In a tracking database, it might be the customer or product name.
61
Creating a View
Open the database you are designing.Select the Views element from the Design list. Click the New View design action button.
62
Creating a View
In the Create View dialog box Enter the View Name. Choose the View Type. Select a location in the "Select a location for the new view" field.
If you want the view to appear at the top level, do not select anything in this field. Otherwise, click the name of the view under which you want the new view to appear.
63
Creating a View
Click the "Copy style from" button.
Click Blank if you do not want to copy another view's style. Otherwise, click the view whose style you want to copy. If the style uses selection formula, the view's selection formula appears in the "Selection condition" field.
You can use the Fields & Functions button and Formula window button to further refine the new view's selection criteria.
64
Creating a View
Click OK to create the new view.
65
Designing a View
Double-click the new view in the Views list to open this new view.
66
Designing a View
Click the Column Title tab to determine the font, size, color, and alignment of the column title. Add other columns by choosing either:
Create - Insert New Column to create a column to the left of the highlighted column.
Create - Append New Column to add the column after all existing columns.
67
Programming a View
When you design a view, you can program it to show all documents or only certain documents in the database. Most databases have one view that shows all documents and other views that show a subset of documents. The default selection for new views is SELECT @All, which means "include all database documents in this view." To narrow down the kinds of documents the view displays, add a program that displays only particular documents. For example, in a task-tracking database, the Work in Progress view could display only those documents whose Status field does not contain "Complete." Here is a program that displays only documents containing new features and displays them in a What's New view:
SELECT @IsMember("01 What's new?"; View)
68
Programming a View
Choose "View Selection" in the Objects box, select the type of programming you want to add, and build the program in the window below. Simple Search
Simple Search allows you to create a conditional document selection without knowing a programming language. In the Info List of the Programmer's pane, click the Run drop-down box and select Simple Search. Then click Add Condition for each selection you want to include. To delete a condition, click it and choose Edit - Clear.
Formula
Formula allows you to create a program for selecting documents. The program uses the @function formula language. In the Programmer's pane, click Formula and write the formula in the Script area.
69
View Properties
Name of the view
View Style:
- Standard Outline
- Calendar
70
View Properties
First view displayed when a user opens database for first time
View serves as a template, or model, for other views and folders that are designed in the same database
Shows the view in collapsed form every time users open it Response documents are displayed in a hierarchy, with each level of response indented from its parent
Makes the view available to users from the View menu in Notes
71
View Properties
If not checked, disables all options in the Customize View dialog box in Notes (except sorting).
Actions (like show / hide formulas) evaluate every time a document changes in the view.
User can create a new document from the view level (without opening the form) Highlights a particular row when a user opens the view: - Go to last opened document - Go to top row - Go to bottom row
Refresh options - Display indicator - Refresh display - Refresh display from top row
View Properties
Color for View Background Alternate colors for rows in a view Specify an image resource as a view background for Notes client users Display a single copy of the image or tile multiple copies of the image for the view background Style and color of gridline in the view
Style, color and height of the View Header showing column titles
73
View Properties
Specify how many lines a column can contain (row height) Vertical space between the rows in view Shrinks the row height according to the content Suppresses the display of categories with no documents Colors the pre-defined Domino view icons to match the header color. Color and style of the unread rows Color of column total text
74
View Properties
Shows the selection margin Turns off the border separating columns from selection margin Fills out the last column to avoid empty space in the view. This makes view easier to read Sets margins for a view in pixels (1 to 100)
Set a color for the view margin. Useful for offsetting a view with a contrasting background color
75
View Properties
Sets the Frameset and Frame in which the view will open on web.
76
View Properties
Refresh and Discard options for View indexes
If a view is used to display records from a data source that is accessed using ODBC, this property suppresses display of duplicate records.
77
View Properties
On web access, overrides the default row and column settings for a view by using HTML formatting attributes stored in a column.
78
View Properties
Those who have read access (and above) for the documents displayed in the view
79
Programming a Column
The values each column shows are determined by a program attached to the column.
Click the column you want to program, click the Simple Function, Field, or Formula button in the Programmer's pane, then build the program in the Script area. Column formulas can consist of a combination of @functions, field values, and text enclosed in quotation marks.
Simple functions
Simple functions let you add programming without knowing a programming language. The default selection for a new column is "# in View," which numbers documents according to their internal sequence (for example, 3.1.2).
80
Programming a Column
Field
Field lets you populate the column with field values without writing a program.
Formula
Formula lets you create a program for a column using the @function formula language. This is useful when you must process values in a document for display purpose. Typical uses for formulas include converting field data to a text value, writing a formula that displays an icon instead of a value, and adding a static text to field values, concatenating values of 2 fields. For example, to append a numeric value to a text value in a column, use a formula like:
Product + ": " + @Text(Quantity)
81
82
To set up a user-sorted column, select the option "Click on column header to sort" on the Sorting tab of the Column Properties box. Then select Ascending or Descending order, or select Both to allow users to cycle among ascending sort order, descending sort order, and no sort order for the column.
83
84
85
86
87
To categorize a view,
88
89
90
Column Properties
Column Title Column Width
91
Column Properties
Allows users to edit values directly from the view.
Specify a pair of graphics to use in place of the default expand and collapse twistie icons.
92
Column Properties
Column sorting options Column categorization options
Suppress numbers other than totals or subtotals for each category and subcategory.
93
Column Properties
Font, size, style, color and justification of text displayed in the columns
94
Column Properties
- Date/Time
- Names
95
Column Properties
Font, size, style, color and justification of text displayed in the columns headers
96
Column Properties
On web access, displays the column value as a link to open the respective document
97
Embedded Views
Views created in Notes may not have as many features on the Web. For example, a view or folder will display as a full screen with default navigation buttons on the Web. To gain more control on the Web, go for embedded Views. When you embed a view or folder on a form, subform, page, or document, you maintain the same functionality available in Notes applications, and you control the size and appearance of a view or folder display. If you have multiple views or folder panes you want to display in an application, you can create one or more view templates that control how the embedded objects display. A view template is actually a specially named form that provides the design structure for displaying the embedded folder panes or views in an application.
98
If you don't want to display the same view in all circumstances, click "Choose a View based on a formula.
You can specify a target frame on the Info tab of the Embedded View Properties box. The target frame specifies where the document is displayed when a user selects a document in an embedded view with a single-click or with the arrow keys, or with a double-click. Click the embedded element and choose Element - View Properties to change the alignment or style, or to hide the element under certain conditions. Close and save the form, subform, page, or document..
99
100
For the Show Single Category option to work, the embedded view must first have been categorized .
101
Folders
Like views, a folder is also a collection of documents(data) in a database. Folders are similar to views in all respects but with the following difference:
In a view, documents are displayed according to a fixed selection criteria. A folder does not have a selection criteria. Documents can be be moved in or out of the folders using drag & drop, menu options or by using an @command.
102
Creating a Folder
Open the database you are designing.Select the Folders element from the Design list. Click the New Folder design action button.
103
Creating a Folder
In the Create Folder dialog box
Enter the Folder Name. Choose the Folder Type.
Select a location in the "Select a location for the new folder" field.
If you want the folder to appear at the top level, do not select anything in this field. Otherwise, click the name of the folder under which you want the new folder to appear.
104
105