Home > Contents > Index >
AssetMaker | Cart Tags | Errors | Miscellany | Index
PROPERTY
Instructs AssetMaker to create a new property and provides the name for the column in the table and the name for the field in the CS-Direct forms.
Syntax
<PROPERTY
NAME="column name
" DESCRIPTION="field name
">Parameters
NAME (required)
- The internal name of the property, that is, the name of the column in the database table for this asset type.
- If you use "URL" as the first three letters of the column name, Content Server recognizes it as a URL column (or upload field).
- If you specify that this column is a URL column, Content Server stores the data entered for this field as a file in the external storage directory identified by the
DEFDIR
parameter for the ASSET tag.
DESCRIPTION (required)
- The external name of the property, that is, the name of the field in the CS-Direct forms.
Description
Nested within each pair of
PROPERTY
tags are the STORAGE, INPUTFORM, SEARCHFORM, and SEARCHRESULTS tags that define the data type that the column stores, the format of the field, and on which forms the field appears.Example
This code fragment shows one
PROPERTY
statement, including itsSTORAGE
,INPUTFORM
, andSEARCHFORM
statements:<ASSET> <PROPERTIES>
<PROPERTY NAME="height" DESCRIPTION="Height"> <STORAGE TYPE="INTEGER" LENGTH="4"/> <INPUTFORM TYPE="TEXT" WIDTH="4" MAXLENGTH="4" REQUIRED="NO" DEFAULT=""/> <SEARCHFORM DESCRIPTION="Height" TYPE="TEXT" WIDTH="4" MAXLENGTH="4" VERB="="/></PROPERTY>
... ...</PROPERTIES> </ASSET>
Home > Contents > Index > ![]()
FatWire Miscellaneous Reference
Copyright 2005,2006,2007 by FatWire Software
All rights reserved.