MACROMEDIA CONTRIBUTE 3-DEPLOYING CONTRIBUTE Betriebsanweisung Seite 42

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 142
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 41
42
Serena® Collage® 5.1.3
Chapter 3 Design-Time Component Reference
orderonmetadata
Names of metadata
fields which can be used
to sort results
Defines metadata fields which the
orderbycode
property can use to order results.
For example, to enable the
orderbycode
property to
sort by metadata fields called Product and Reviewer,
define
orderonmetadata
as:
orderonmetadata="Product, Reviewer"
The
orderbycode
property can then sort using the
specified metadata fields by including a 2 digit code that
corresponds to each of the metadata fields. This code
identifies the index, or number, of the field in the
orderonmetadata
property, and identifies ascending
(
A
) or descending (
D
) sort order. For example, if the
following
orderbycode
property is combined with the
orderonmetadata
example above:
orderbycode="1A"
The AssetQuery results will be sorted based on the
values of the
Product
metadata field (
1
), in ascending
order (
A
).
In the following example,
orderbycode
will order
results first by the
Reviewer
metadata field (in
ascending order), then by the
Product
metadata field
(in descending order), and finally by asset name (in
descending order):
orderonmetadata="Product, Reviewer"
orderbycode="2A1Dn"
Previewmax
Number of preview rows If the component includes a
layout
property to format
linked assets, the maximum number of rows that the
component can display when previewing the asset that
contains the component.
By default, this is set to
5
.
query
Path to the query
cabinet
Refers to a predefined query cabinet. A query cabinet is
a saved query from the Asset view.
For example:
query="/Users/admin/MySearch/"
Will use the MySearch query cabinet.
The default value is "" (No QueryCabinet will be used).
relative
Relative path to the
deploy folder
Relative path to the deploy folder that will be searched.
This can be used in place of the
root
property. If
relative
and
root
are both defined, AssetQuery will
use the
relative
path.
This path its relative to the asset that will be deployed.
For example, if the AssetQuery component is defined on
a master page, this property defines a path from any
assets to which the master page is applied.
To search the current folder, define this as:
relative="."
Property Value Description
Seitenansicht 41
1 2 ... 37 38 39 40 41 42 43 44 45 46 47 ... 141 142

Kommentare zu diesen Handbüchern

Keine Kommentare