
44
Serena® Collage® 5.1.3
Chapter 3 Design-Time Component Reference
skiplevels
Number Allows you to skip the specified number of folders
before beginning a recursive search within your deploy
folder tree. The starting point for this search is the
folder defined by the
root
property or the
relative
property. For example:
<nexus:component classid="nexus/components/
AssetQuery" code="$nexusComponents"
root="/WebSite/PressRelease/"
skiplevels="1">
$node.Path$node.FileName<br>
</nexus:component>
NOTE
The
skiplevels
property is ignored if you also
set the
query
property.
For example, you might have a project that is set up as
shown below, with the
root
property set to /website/
Offices/.
If
skiplevels
is set to 1, AssetQuery skips the assets
in the Offices folder, and returns all assets in the
Issaquah folder and Seattle-Downton folder.
To perform a full recursive search while skipping a level,
you can use the
skiplevels
property in conjunction
with the
levelsdeep
property. For details, see the
levelsdeep
property on page 37.
Property Value Description
Commenti su questo manuale