Home > Contents > Index >
asset:getpubdeps
Gets the mirror publish dependencies for an asset.
Syntax
<asset:getpubdeps name="asset instance object" list="name to assign list" [depth="-1 or 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
This code loads an article asset, and gets it approval dependents.
<asset:load name="MainArticle" type="Article" objectid='<%=ics.GetVar("cid")%>' /> <asset:getpubdeps name="MainArticle" list="deps" /> <ics:listloop listname="deps"> <ics:listget listname="deps" fieldname="oid"/> , <ics:listget listname="deps" fieldname="otype"/> , <ics:listget listname="deps" fieldname="deptype"/> <br/> </ics:listloop>
Home > Contents > Index > ![]()
Oracle JSP Tag Reference
Copyright (c) 2013, 2019, Oracle and/or its affiliates. All rights reserved.