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

 

asset:import

Parses XML and sets Sites 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 if file not specified)
XML code that is parsed.

file (required if xml not specified)
Path to file containing XML code that is parsed. This parameter takes precedence over XML.

pubid (optional)
Publication ID.

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

Error Numbers

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 or the supplied subtype is incorrect.

   Home > Contents > Index >

Oracle JSP Tag Reference
Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.