Home > Contents > Index >
Template Tag TOC  |   Alpha TOC  |   Tag Family TOC  |   Purpose TOC  |   Annotated TOC  |   Index 

 

ASSET.GETSUBTYPE

Gets the subtype of the asset.

Syntax

Parameters

NAME (optional)
Name of the loaded asset. Either name or type + objectid must be provided to identify the asset.

TYPE (optional)
Asset type of an asset whose subtype to get. Objectid is required to accompany this parameter.

OBJECTID (optional)
Asset id of an asset whose subtype to get. Type is required to accompany this parameter.

OUTPUT (optional)
Name of the variable in which to set the results. If the name is not supplied, subtype is used.

Description

If no subtype has been specified for this asset, the variable will contain an empty string. For flex assets, the subtype is the flex definition asset.

errno

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

This code gets and displays the subtype of an asset:

This code displays the subtype of an asset without loading the asset:

See Also

ASSET.LOAD
ASSET.GETLEGALSUBTYPES

  Home > Contents > Index >

FatWire XML Tag Reference
Copyright 2005 by FatWire Software
All rights reserved.