Storing container field data externally
Answer ID: 10244 Last Updated: Apr 04, 2012
Details
In addition to setting up a container field to store embedded data or a file reference, new to FileMaker 12, you can set up a container field to store data externally.
For example, suppose you have a shared Products database that includes a container field for product photos. When a user in one location inserts a file into the container field, the file is transferred to and stored in a directory on the host computer. When users in other locations view database records, the product photo is displayed in their copy of the container field.
By storing container data externally, you can:Share data easily: Storing data externally also makes sharing a multi-user database easy, because each user works with data that’s stored in one central location. You do not need to configure a shared volume on each local computer to use container fields in a multi-user environment. You can insert files into container fields from your hard drive without having to copy them to a shared volume first.Perform incremental backups: Only a reference to an external file is stored inside the database, which keeps databases small, and facilitates incremental backups. Storing container data externally promotes faster backups, because after an initial backup has been performed, subsequent backups copy only the external files that were added or changed.Maintain security: Your data remains protected by FileMaker Pro. Container data that's stored externally in secure storage is by default encrypted and can be read only by FileMaker Pro. Alternatively, you can choose to keep the data in its native format (through open storage), giving you more control over how folders and files are organized in the external file system.
Setting up container fields to store data externally
When you create a container field, data is embedded in the field by default. You can change the data to be stored externally via field options. Data that’s stored externally is encrypted by default, using secure storage, and can only be read by the FileMaker Pro application.
FileMaker Pro manages the encrypted files automatically. However, you can use the open storage option, which removes encryption and keeps the files in their native formats.
You can set up different storage options (embedded or stored externally) for individual container fields in a database. Also, you can store container data externally in different folders on the file system.
To set up external storage:
With the database open, choose File menu > Manage > Database.
Note To set options for fields in Table View, right-click the column heading for the field, choose Field > Field Options from the shortcut menu, then skip to step 6.In the Manage Database dialog box, click the Fields tab.If your database contains more than one table, select the appropriate table from the Table list.Select an existing field or define a new one.Click Options (or double-click the field name).In the Options for Field dialog box, click the Storage tab. See image below to view the dialog.In the Container area, select Store container data externally.For relative to, choose a base directory from the list.
You can store container data in a different directory. For more information, see Managing external storage of container data in the Topic Overview. For steps on how to manage external storage, see section 2 below.
Choose how you want the container data stored.
Options:
Secure Storage (the default)
Encrypt the data, making it readable only by FileMaker Pro. FileMaker Pro creates a “Secure” subdirectory in the base directory and randomly distributes the files across subdirectories, and creates new subdirectories as needed.
Open Storage
Allow container files to stay in their original format and control where the files are stored. The default path is relative to the base directory and is in the format table/field.
You can type a different path or click Specify to specify a calculation. Click OK to close the Options for Field dialog box.
Your new post is loading...