Attachments can be added to each meta object which has a data entry screen.
It is recommended to add a separate tab where the Attachment control can be inserted.
For the Attachment control, you must create a user-defined table in which the attachments will be saved.
Specific Properties of Attachments |
|
BinaryField |
Indicates the field in the database table where the file attachment will be saved. |
CheckoutPathField |
Indicates the field in the database table where the path for checking out the file attachment will be saved. |
CheckoutStateField |
Indicates the field in the database table where the checkout status of the file attachment will be saved. |
CheckoutUserField |
Indicates the field in the database table where the user who checked out a file attachment will be saved. |
DescriptionField |
Indicates the field in the database table where the description of the file attachment will be saved. |
DisplayName |
Indicates the name used in the navigation. Can also be left blank. |
FilenameField |
Indicates the field in the database table where the file name of the file attachment will be saved. |
ForeignField |
Indicates the field in the database table where the foreign key of the file attachment will be saved. |
ForeignTableField |
Indicates the field in the database table where the name of the table to which the file attachment belongs will be saved. |
NameField |
Indicates the field in the database table where the name of the file attachment will be saved. |
PrimaryField |
Indicates the field in the database table where the primary key of the file attachment will be saved. |
SizeField |
Indicates the field in the database table where the file size of the file attachment will be saved. |
Tablename |
Indicates the database table where the file attachments will be saved. |
The user-defined table must contain fields that match the fields of this database table.
These fields can then be assigned to the properties of the Attachment control.
There are two ways to add attachments.
To open an attachment in an application, first select the file. Then click the Execute button to open the file in the default application set for this file type in the system.
You can edit attachments whenever you want to do so. To edit the file, you must select it. Then, click the Check Out button. The file will be stored in the check out path. Checking out a file prevents the file from being edited by multiple users at the same time, which would introduce inconsistencies. To make the checked-out file available to other users again when you are done with editing, release it by clicking the Check In button. Checking in the modified file saves it back to the database.