
26
Serena® Collage® 5.1.3
Chapter 3 Design-Time Component Reference
The standard data fields are:
Field Description
approvedby
If the asset has been approved, displays the name of the user who approved it. For
example:
$node.approvedby
approveddate
If the asset has been approved, displays the date when the asset was approved.For
example, to display the approval date for a file asset:
$node.approveddate
You can include an additional parameter to format the date. For example:
$node.approveddate("yyy.MMMM.dd GGG hh:mm aaa")
Will generate a date in the following format:
2001.May.10 AD 12:08 PM
See "Formatting Date Fields" on page 29 for more information.
approvedversion
If the asset is approved, displays the number of the version that is approved. For
example:
$node.approvedversion
assetid
Displays the asset's ID number. The syntax is:
$node.assetid
assettype
Displays the asset's assettype, such as Microsoft Word Document, or Contribution
Asset. For example:
$node.assettype
checkoutname
If the asset is checked out, displays the ID of the user who checked out the asset.
For example:
$node.checkoutname
checkouttime
If the asset is checked out, displays the time when the asset was checked out. For
example:
$node.checkouttime
You can include an additional parameter to format the date. For example:
$node.checkouttime("yyyy.MMMM.dd GGG hh:mm aaa")
Will generate a date in the following format:
2003.May.10 AD 12:08 PM
See "Formatting Date Fields" on page 29 for more information.
Commenti su questo manuale