Home > Contents > Index >
ASSETSET.SETLISTEDASSETS
Builds an assetset from a list of assets.
Syntax
<ASSETSET.SETLISTEDASSETS NAME="assetsetname" [ASSETTYPES="assettype"] ASSETS="listname" [LOCALE="localeobject"] [DEPTYPE="exact|exists|none"]/>Parameters
NAME (required)- Input and output parameter. As input, name of the assetset object to create on output, representing the list of passed assets.
ASSETTYPES (optional)- Input parameter. Name of a list of asset types to include in building the set. The list has one column called
assettype. If null, then all assets in the assets list are considered.
ASSETS (required)- Input parameter. Name of a list containing the columns
assettypeandassetid. This list is used to create the assetset.
LOCALE (optional)- Input parameter. Name of a locale object, which determines sort order.
DEPTYPE (optional)- Specifies whether approval dependency is
exact,existsorgreater.
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.Description
ASSETSET.SETLISTEDASSETSbuilds an assetset where the assets are described by their type name and asset identifier.Example
<!-- ASSETSET.SETLISTEDASSETS: create an assetset from a list of assets --> <SETVAR NAME="errno" VALUE="0"/> <SETVAR NAME="tablename" VALUE="mp3"/> <EXECSQL SQL="SELECT id AS assetid, `Variables.tablename' AS assettype FROM Variables.tablename ORDER BY id DESC" LIST="lLatestmp3s" LIMIT="8"/> <ASSETSET.SETLISTEDASSETS NAME="latest" ASSETTYPES="lLatestmp3s" ASSETS="lLatestmp3s"/>
Home > Contents > Index > ![]()
Oracle XML Tag Reference
Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.