Home > Contents > Index >
asset:getsubtype
Sets the subtype or flex definition for an asset.
Syntax
<asset:setsubtype name="loaded asset" value="legal subtype"] />Parameters
name (required)
- Name of the loaded asset.
value (required)
- Legal subtype for asset type. For flex assets, the subtype must be the name of a flex definition asset.
Description
Sets the subtype of an asset.
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 gets and displays the subtype of an asset:
<asset:load name="asset" type="Article" objectid='<%=ics.GetVar("cid")%>' /> <asset:setsubtype name="asset" value="Columnist"/>See Also
asset:load
asset:getsubtype
asset:getlegalsubtypes
Home > Contents > Index > ![]()
Oracle JSP Tag Reference
Copyright (c) 2013, 2018, Oracle and/or its affiliates. All rights reserved.