
AssetQuery
Components User's Guide
35
docconvert
(continued)
To then generate links to the converted files, include
any of the following data field macros in the body of the
component:
$node.psurl
Links to the postscript version of the files. For
example:
<a href="$node.psurl">Postscript version
of $node.name</a>
Links to the postscript version of a file.
$node.pdfurl
Links to the PDF version of the files. For example:
<a href="$node.pdfurl">PDF version of
$node.name</a>
Links to the PDF version of a file.
$node.htmlurl
Links to the HTML version of the files. For
example:
<a href="$node.htmlurl">HTML version of
$node.name</a>
Links to the HTML version of a file.
filter
Filter value The
filter
property narrows the search down to assets
with properties that meet specific criteria. For example:
filter="A.MimeType='text/html'"
Limits the returned assets to HTML files only. You can
also use data macro fields to define a filter, for example:
filter="A.FileName='$node.FileName'"
See "Data Field Macro Reference" on page 23 for more
information.
You can query multiple properties fields at one time, by
linking multiple filter statements with
AND
or
OR
. For
example:
filter="( A.FileName='index.html' ) AND
( A.MimeType='text/html' )"
Limits the results to HTML files named index.html, and:
Filter="( A.AssetType='HTML Document' ) OR
( A.AssetType='Welcome message' )"
Limits the results to assets of either the
HTML
Document
or
Welcome message
asset type.
Property Value Description
Kommentare zu diesen Handbüchern