Functions Reference

Table Of Contents
Container functions
F
ILEMAKER FUNCTIONS REFERENCE 41
GetContainerAttribute
Purpose
Returns the file metadata of the specified container field.
Format
GetContainerAttribute(sourceField;attributeName)
Parameters
sourceField - the name of a container field.
attributeName - the name of a supported attribute (see below).
Data type returned
text, number, date, time, timestamp, container
Originated in
FileMaker Pro 13.0
Description
Some attributes may not return a result. For example, the values for the latitude and longitude of a
photo may not be available, or some audio metadata like album art may not be available because
the metadata is stored outside the audio file. Some individual attributes in the group attribute
all
may not be applicable in some circumstances.
Attributes
Attribute Returns Data type returned
General
filename The name of the file inserted into the container field. text
MD5 The result of applying the cryptographic hash function MD5
to a file inserted into the container field or a file referenced by
a container field.
text
storageType The method used to store the data in the container field:
Embedded, External (Secure), External (Open), File
Reference, Text.
text
fileSize The size (in bytes) of the file inserted into the container field. number
internalSize The amount (in bytes) of the space inside the database file
that is occupied by the container field.
number
externalSize The amount (in bytes) of the space that is stored externally
by the container field. This is either the size of the referenced
file or the total size of all files in the container field (set up for
open or secure storage).
number
externalFiles A list of the external files associated with the container field
(either files using open or secure storage or a file reference).
text