Home > Contents > Index >
asset:referencedby
Builds a list of assets that reference this asset.
Syntax
<asset:referencedby name="asset name" list="list name" [embeddedreflist="list name]" />Parameters
name (required)
- Name of previously loaded asset.
list (required)
- Name of the list of assets that reference the asset. The list contains a column called
OTYPE
, which contains the asset type and the OID for the ID of the referencing asset.
embeddedreflist (optional)
- Name of the list of assets that reference the asset using embedded links. The returned list contains a column called OTYPE, which contains the asset type and the OID for the ID of the referencing asset.
Description
Note
This tag may be computationally expensive and should not be used in templates used for live site rendering.
The list will contain assets which have references to this asset. This will include asset associated through the AssetRelationTree, assets relations due to flex family membership. If the
embedreflist
paramenter is used, that will contain a list of assets that reference the asset in embedded links within their text fields. The lists have the columnsOTYPE
, for asset type andOID
for asset id.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 into memory).Example
<asset:load name="myArticle" type="Content_C" objectid="123456789012"/> <asset:referencedby name="myArticle" list="referers" embeddedreflist="refersintext"/>See Also
asset:children
asset:list
asset:load
Home > Contents > Index > ![]()
Oracle JSP Tag Reference
Copyright (c) 2013, 2018, Oracle and/or its affiliates. All rights reserved.