The Record Detail page displays a single record in an entire page. The Record Detail page can be read-only, or it can be editable. If the Record Detail page is editable, it's the page where your Web audience can edit, delete, or duplicate records.
To build a read-only Record Detail page:
For this type of read-only data |
Drag this element |
---|---|
Field values |
FMP-Field |
Images from FileMaker container fields |
The image element in the Field section of the library entry |
Repeating field values |
FMP-Repeating tag (containing the FMP-RepeatingItem tag) |
Portal |
FMP-Portal tag (containing the FMP-Field tag) |
To build an editable Record Detail page:
For this tag |
Specify the following information |
---|---|
-Db |
The filename of the database your pages refer to. This is a hidden entry. |
-Lay |
The name of the layout being accessed in an edit, delete, or duplicate action. This is a hidden entry. |
-Format |
The filename of the page that confirms that an action (editing, deleting, or duplicating records) has occurred. This is a hidden entry. |
-Error |
The filename of the page that is returned if an error occurs in processing the request to modify the database. This is a hidden entry. |
-Edit |
Text on the button in the browser which is used by the audience to edit or update a record. |
-Delete |
Text on the button in the browser which is used by the audience to delete a record. |
-Dup |
Text on the button in the browser which is used by the audience to duplicate a record. |
You can add and format fields in an editable Record Detail page. Drag items from the Displaying record data entry in the FileMaker Form Library to the Record Detail page.
To use input elements from the FileMaker Form Library:
Drag this element to your page |
To use this format for fields in an editable Record Detail page |
---|---|
FMP-Field tag |
Read-only text value of the field whose name you specify. |
Text field |
A text field form element. See Adding a text field for more information. |
Pop-up menu |
A pop-up menu or scrolling list form element.
|
Check box |
A check box form element. |
Radio buttons |
A radio button form element. |
Text area |
A text area form element. See Adding a text area for more information. |
FMP-Repeating tag (containing the FMP-RepeatingItem tag) |
Text values as they appear in a repeating field, where only the first repetition is editable. The HTML repeats for all the repetitions in the specified field. |
FMP-Portal tag (containing the FMP-Field tag) |
Text values as they appear in a portal, where only the first record is editable. The HTML repeats for each record in the portal. |
You can have FileMaker Pro send an email message notification to an address you specify whenever the database is modified.
To add an email notification to an editable Record Detail page:
For this CDML tag |
Type the following as its attribute |
---|---|
-Mailto |
The email address of the recipient. |
-MailFrom |
The email address of the sender. |
-MailSub |
The subject of the email. |
-MailFormat |
The filename of the email format file. For example: email_format.txt. (This is the body of your email message.) |
-MailHost |
The address of the SMTP server host. For example, smtp.domain.com |
-MailCC (optional) |
The email address of the person who is carbon copied. |
-MailBCC (optional) |
The email address of the person who receives a blind carbon copy. |
Note A FileMaker form area can support only one set of mail tags.
You can edit the email message later on (for example, to include field data). For information on how to do this, see the following section, "Changing the text of the email message reply file."
Once you have set up the Record Detail page the way you want, you can save it. The name of the Record Detail page should correspond to the filename used in all files that refer to it. For example, the Search Results page called "search_results.htm" might refer to a Record Detail page named "record_detail.htm."
You can edit the text of the email message used in reply files. Besides text, you can include CDML tags in the email text file. For example, including the FMP-Field tag in the email format file lets you include field values from the FileMaker file in the body of the email message.
To add CDML tags to an email notification file: