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

 

ASSET.CHILDTYPES

Builds a list of asset types that are children of this asset.

Syntax

Parameters

NAME (required unless type and objectid supplied)
Name of previously loaded asset.

TYPE (required if name is not used)
Input. Asset type of the parent asset whose children you want to list. Either type+objectid or name must be supplied to identify the parent asset.

OBJECTID (required if name is not used)
Input. Asset id of the parent asset whose children you want to list. Either type+objectid or name must be supplied to identify the parent asset.

LIST (required)
Name of asset type list. The list includes the asset type in the OTYPE field.

Description

The ASSET.CHILDTYPE tag helps to improve performance. For example, you can loop through the asset types and use an ASSET.LOADALL tag for each asset type to load all the children.

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 example lists the name field of all child assets of myArticle.

This example does the same thing without loading any assets.

  Home > Contents > Index >

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