Home > Contents > Index >
asset:inspect
Creates an object with the asset's attributes and the specification for each attribute.
Syntax
<asset:inspect list="list name" type="asset type" [pubid="publication ID"] [subtype="asset subtype"] />Parameters
list (required)
- Name of the list.
type (required)
- Asset type.
pubid (optional)
- Publication ID.
subtype (optional)
- Asset subtype.
Description
The returned list object has columns
name
andspec
.Error Numbers
The possible values of
errno
include:
Value Description -10001 The implementing class is invalid. -10002 There is a missing method for the implementing class. -10003 The method could not be invoked successfully. -12004 An asset was not found for a specified ID.Example
The following example outputs the list created by the asset:inspect tag using data fromew FirstSiteII Content_C asset using asset:create.
<asset:inspect list="inspectList" type="Content_C" subtype="FSIIArticle" /> <ics:listloop listname="inspectList"> <ics:listget listname="inspectList" fieldname="name" />: <ics:listget listname="inspectList" fieldname="spec" /> <br/> </ics:listloop>The following is an example of the output from the execution of the above code:createdby: ="Created By" readonly optional string length 64 <br/> urlexternaldoc: readonly optional file <br/> description: ="Description" editable optional string length 128 <br/> Publist: ="Publication" editable required array 1 int enum[0,960931678101="GE Lighting",968251170475="BurlingtonFinancial",1024593690882="HelloAssetWorld",1044898379999="Spark",1112198287026="FirstSiteII"] <br/> Relationships: editable optional array 0 struct [relid=required assetreference types[AdvCols],asset=required assetreference anytype,confidence=required float range 0.0 1.0] <br/> template: ="Template" editable optional string length 64 <br/> subtype: ="Subtype" readonly optional string length 32 <br/> urlexternaldocxml: readonly optional file <br/> createddate: ="Created Date" readonly optional date <br/> updatedby: ="Updated By" readonly optional string length 64 <br/> status: ="Status" readonly required string enum["ED"="Edited","PL"="Created","RF"="Received","UP"="Upgraded","VO"="Deleted"] <br/> Dimension-parent: editable optional array 0 struct ["group"=required string unlimited,"asset"=required assetreference anytype] <br/> renderid: editable optional assetreference type Template subtype Content_C <br/> startdate: ="Start Date" editable optional date <br/> flextemplateid: readonly required assetreference types [Content_CD] <br/> name: ="Name" editable required string length 64 <br/> enddate: ="End Date" editable optional date <br/> updateddate: ="Updated Date" readonly optional date <br/> externaldoctype: readonly optional string length 64 <br/> filename: ="Filename" editable optional string length 64 <br/> Dimension: editable optional array 0 assetreference types [Dimension] <br/> ruleset: editable optional ruleset "rating" <br/> path: ="Path" editable optional string length 255 <br/> fw_uid: readonly optional string length 255 <br/>
Home > Contents > Index > ![]()
Oracle JSP Tag Reference
Copyright (c) 2013, 2019, Oracle and/or its affiliates. All rights reserved.