MACROMEDIA CONTRIBUTE 3-DEPLOYING CONTRIBUTE Guide de l'utilisateur Page 28

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 142
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 27
28
Serena® Collage® 5.1.3
Chapter 3 Design-Time Component Reference
Asset Metadata Field
To display the value of a metadata field, you must use the following syntax:
$node.meta('metadata_name')
For example,
$node.meta('Reviewer')
The metadata fields also include an optional parameter for formatting date fields. For
example:
$node.meta('Review Date', yyyy.MM.dd)
.
See "Formatting Date Fields" on page 29 for more information.
URL Fields
You can use the following syntax to generate a relative URL to an asset, for example in a
query record returned by the AssetQuery component:
$node.url
masterpageassetid
If a master page is assigned to the asset, displays the asset ID number for the
master page. For example, to display the master page ID for a file asset:
$node.masterpageassetid
MimeType
Displays the asset's MIME-type. For example:
$node.MimeType
name
Displays the asset name. The syntax is:
$node.name
path
Displays the deploy folder path to the asset. For example:
$node.path
recordnumber
If the asset is returned by a query, displays the record (or row) number of the asset,
in the query result. For example:
$node.recordnumber
Size
Displays the asset's filesize. For example:
$node.Size
startdate
Displays the start date for the asset. For example:
$node.startdate
You can include an additional parameter to format the date. For example:
$node.startdate("yyyy.MMMM.dd GGG")
Will generate a date in the following format:
2003.May.10 AD
See "Formatting Date Fields" on page 29 for more information.
Field Description
Vue de la page 27
1 2 ... 23 24 25 26 27 28 29 30 31 32 33 ... 141 142

Commentaires sur ces manuels

Pas de commentaire