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

 

asset:import

Parses XML and sets Content Server variables which can then be gathered to set values in the asset.

Note

If you use asset:import to gather values into a flex asset, you must provide an asset subtype using the subtype parameter.

Syntax

Parameters

name (required)
Name of the asset instance object.

prefix (required)
Prefix to use when setting ICS variable names. The variable names are prefix:attribute.

xml (required)
XML code that is parsed.

pubid (optional)
Publication ID.

subtype (optional, unless using this tag for a flex asset)
Asset subtype.

errno

The possible values of errno include:

Value
Description
-408
Bad XML syntax.
-10004
A required parameter is missing.
-10005
The requested object is not in the object pool (is not loaded into
memory).
-12004
An asset was not found for a specified ID.
-12037
Required field missing.
-12038
Incorrect data type.
-12043
Data out of range.
-12060
A field sent to the save asset function (after XML parsing) was too long.
-12066
No subtype supplied.

  Home > Contents > Index >

FatWire JSP Tag Reference
Copyright 2005,2006,2007 by FatWire Software
All rights reserved.