Home > Contents > Index >
Template Tags TOC | Alpha TOC | Tag Family TOC | Purpose TOC | Annotated TOC | Index
asset:getassettypeproperties
Reports values for various asset type properties.
Syntax
<asset:getassettypeproperties
type="
assetType
"/>
Parameters
type (required)
- Input. Asset type for which to report prperties.
Description
This tag will set the following ICS variables to "true" or "false":
- IsCoreAssetType - if true, asset type is a system asset type and cannot be deleted.
- NameMustBeUnique - if true, the name field of each asset of this type must be unique.
- CanAddSubtypes - if true, configurable subtypes for this asset type can be added by users via the Admin interface.
- IsAssetMakerAsset - if true, asset type was created using AssetMaker.
- IsFlexAsset - if true, asset type was created using Flex Asset Maker, i.e., the asset type is a flex family member.
- CanPreview - if true, assets of this type can be viewed using the Preview function.
- RenderUsingTemplate - if true, template assets are used to render assets of this type.
- UsesSitePlanTree - if true, assets of this type have a corresponding node in the SitePlanTree (true only for Page asset type).
Error Numbers
The possible values of
errno
include:
Value Description -10004 A required parameter is missing.Example
The following reports if there are no templates for an asset type that support rendering with templates.
<asset:getassettypeproperties type='<%=ics.GetVar("AssetType")%>' /> <ics:if condition='<%=ics.GetVar("RenderUsingTemplate").equals("true")%>' > <ics:then> <asset:list type="Template" list="templates"> <asset:argument name="subtype" value='<%=ics.GetVar("AssetType")%>' /> </asset:list> <ics:if condition='<%ics.GetList("templates").numRows()==0%>' > <ics:then> No Templates exist for <ics:getvar name="AssetType" encoding="default"/> </ics:then> </ics:if> </ics:then> </ics:if>See Also
asset:getassettype
Home > Contents > Index > ![]()
Oracle JSP Tag Reference
Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.