Adobe 38043740 - ColdFusion Standard - Mac Development Manual page 270

Developing applications
Hide thumbs Also See for 38043740 - ColdFusion Standard - Mac:
Table of Contents

Advertisement

DEVELOPING COLDFUSION 9 APPLICATIONS
Developing CFML Applications
Using metadata
Amazon S3 allows you to specify metadata for both objects and buckets.
The following two functions let you get and set the metadata on objects or buckets.
StoreGetMetadata
Description
Returns the metadata related to the object or bucket.
Returns
Object metadata or bucket metadata
Syntax
StoreGetMetadata(url)
Parameters
Parameter
Description
Amazon S3 URLs (bucket or object).
url
History
ColdFusion 9 Update 1: Added this function
Example
<cfdump var = #StoreGetMetadata("bucket_Name")#>
StoreSetMetadata
Description
Sets the metadata on bucket or object.
Returns
Nothing
Syntax
StoreSetMetadata(url,Struct)
Parameters
Parameter
Description
url
Amazon S3 URLs (bucket or object).
Represents the metadata. See
struct
You can also have custom metadata apart from the standard ones.
"Standard
keys" on page 266 for a list of standard keys in metadata.
Last updated 1/20/2012
265

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion 9

Table of Contents