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

 

ASSET.SAVEALL

Calls ASSET.SAVE for all assets named with the prefix name plus a counter.

Syntax

Parameters

TYPE (required)
Type of the asset to save.

PREFIX (required)
Base name of the loaded asset. The object name consists of this value plus a counter incremented by 1.

INITCOUNT (optional)
The initial value of the counter to be appended to the PREFIX value to determine the object name of the loaded asset. The default value is 1.

FLUSH (optional)
If set to true, the object is flushed from the object pool. The default value is false.

Error Numbers

When an error is encountered, other assets are saved. A list of error messages is written to Variables.errdetailsn, where n is an iterator beginning with 1.

The possible values of errno include:

Value
Description
-105
Database error.
-10001
The implementing class is invalid.
-10002
There is a missing method for the implementing class.
-10003
The method could not be invoked successfully.
-10004
A required parameter is missing.
-10005
The requested object is not in the object pool (is not loaded into memory).
-12018
Missing site.
-12034
Publish in progress.
-12065
Error updating AssetPublication.
-12070
Asset not fully loaded. Must used "editable" option when loading the asset.

Example

This example saves the images named image100, image101, image102, etc.

See Also

  Home > Contents > Index >

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