Home > Contents > Index >
ASSET.GETPUBDEPS
Gets the mirror publish dependencies for an asset.
Syntax
<ASSET.GETPUBDEPSNAME="asset instance object"
LIST="name to assign list"
[DEPTH="-1|1"] />
Parameters
NAME (required)
- Name of the asset instance object.
LIST (required)
- Name of the list to create containing dependent assets.
DEPTH (optional)
- Levels to search for dependency. A value of
-1
indicates to search for the all dependencies to all levels. The default value is1
.
Description
Approval dependencies include any child in the AssetRelationTree. Other approval dependents depend on the asset type. For Page assets, page assets lower in the hierarchy are dependents. Site Entry assets will list the related CSElement asset as a dependent. Flex assets will have flex family memebers as dependents. If the flex asset has any attributes of type asset will have these as dependent assets. If the asset supports embedded links in any of its fields and there are embedded links, these will be listed as dependents.
The generated list contains the following columns:
OTYPE
,OID
,OVERSION
,DEPTYPE
.Error Numbers
The possible values of
errno
include:
Value Description -10004 A required parameter is missing. -10005 The requested object is not in the object pool (is not loaded intomemory).Example
<ASSET.LOAD NAME="anAsset" TYPE="Variables.assettype" OBJECTID=" Variables.assetid"/> <if COND="IsError.Variables.errno=false"> <then> <!-- get asset dependents --> <ASSET.GETPUBDEPS NAME="anAsset" DEPTH="1" LIST="myDeps"/> <if COND="IsList.myDeps=true"> <then> <LOOP LIST="myDeps"> <CSVAR NAME="myDeps.otype,myDeps.oid/> <if COND="myDeps.deptype=V"> <then> Exact dependent<br/> </then> <if> <if COND="myDeps.deptype=E"> <then> Exists dependent<br/> </then> <if> </LOOP> </then> </if> </then> </if>
Home > Contents > Index > ![]()
Oracle XML Tag Reference
Copyright (c) 2013, 2018, Oracle and/or its affiliates. All rights reserved.