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

 

ASSET.REMOVECHILDREN

Designates which entries to remove from the AssetRelationTree.

Syntax

Parameters

NAME (required)
Name of the asset instance object. If only name is specified, all children are deleted.

TYPE (optional)
Asset type of children to remove. If this parameter is omitted, children of all types are removed.

CHILDID (optional)
ID of a child asset to remove.

CODE (optional)
Association name of child asset to remove. For unnamed associations, use code="-"

Description

This tag supports all combinations of the optional parameters (code, type, childid). The AssetRelationTree is updated during an ASSET.SAVE operation.

Error Numbers

The possible values of errno include:

Value
Description
-10004
A required parameter is missing.
-10005
The requested object is not in the object pool (is not loaded into memory).

Example

The following code removes all children from the named association of the current asset:

The following code removes all children of a specific asset type from the unnamed association of the current asset:

The following code removes a specific child of a specific asset type from the current asset:

   Home > Contents > Index >

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