Home > Contents > Index > 
ASSET.DEF
Returns a list of an asset type's attributes and indicates whether each attribute is optional, required, read only, or editable.
Syntax
<ASSET.DEFTYPE="asset type name"[PUBID="publication ID"][SUBTYPE="asset subtype"]LIST="list name" />Parameters
TYPE (required)- Name of the asset type.
 
PUBID (optional)- Site (formerly publication) ID.
 
SUBTYPE (optional)- Name of the asset subtype.
 
LIST (required)- Name of Ilist to be created. Columns are:
 
name- Attribute name, description.editable- Set totrueif the attribute can be edited in the UI; set tofalsefor read-only.required- Set totrueif this is a required field in the database table; set tofalseif the field is optional.description- Name that can be displayed on the screen.formattable- Set totrueif a field is a simple string field.errno
The possible values of
errnoinclude:
 Value Description -10004 A required parameter is missing. -10005 The requested object is not in the object pool (is not loaded intomemory).
Home > Contents > Index > ![]()
FatWire XML Tag Reference
Copyright 2005,2006,2007 by FatWire Software
All rights reserved.