Home > Contents > Index >
ASSETSET.SETSEARCHEDASSETS
Creates an assetset object which represents all assets of specific types narrowed by specified search criteria.
Syntax
<ASSETSET.SETSEARCHEDASSETS NAME="assetsetname" [ASSETTYPES="assettype"]
[CONSTRAINT="searchstateobject"]
[LOCALE="localeobject"]
[SITE="siteidentifier"] [DEPTYPE="exact|exists|none"]/>Parameters
NAME (required)
- Input and output parameter. As input, name of the assetset object to create on output, representing the specific asset types and search criteria.
ASSETTYPES (optional)
- Input parameter. A string of asset types; for example,
"Products, AArticles, AImages"
, to include in building the set. Identifying specific assets is recommended, since the search becomes much slower for each asset type searched. If null, then all assets in the system are considered.
CONSTRAINT (optional)
- Input parameter. Name of a searchstate object describing the search constraint.
LOCALE (optional)
- Input parameter. Name of a locale object, which determines sort order.
SITE (optional)
- Input parameter. Site identifier to search.
DEPTYPE (optional)
- Specifies whether approval dependency is
exact
,exists
orgreater
.
Legal values are:
exact
--
Specifies a version dependency. The version of the dependent asset must be equal to the version of the asset when it was approved.exists
--
Specifies that any version of the asset satisfies the dependency condition.none
(default)--
Specifies no approval dependency.Example
<!-- Iterate through a list of attribute values. --> <!-- First, create a blank searchstate. --> <SEARCHSTATE.CREATE NAME="ss"/> <!-- Associate the blank searchstate with a new asset set. --> <ASSETSET.SETSEARCHEDASSETS NAME="as" CONSTRAINT="ss" ASSETTYPES="Products"/> <!-- Get a set of all values for the given attribute. --> <ASSETSET.GETATTRIBUTEVALUES ORDERING="descending" NAME="as" ATTRIBUTE="Price" LISTVARNAME="results"/>
Home > Contents > Index > ![]()
Oracle XML Tag Reference
Copyright (c) 2013, 2018, Oracle and/or its affiliates. All rights reserved.