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

 

asset:addchild

Designates an asset to be added as a child asset in the AssetRelationTree table when the asset:save tag is called.

Note: When the asset is already a child of the same parent to which it is currently being added to, the tag silently ignores the update operation and returns zero.

Syntax

Parameters

name (required)
Name of the asset instance object.

type (required)
Asset type of child asset. Stored in OTYPE field.

childid (required)
ID of child asset to add. Stored in OID field.

code (optional)
Association name. Stored in NCODE field.

rank (optional)
Integer indicating rank of child asset. Stored in NRANK field.

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).
-10007 Non-numeric rank.
-10014 Asset cannot be its own child.
-10017 Non-numeric rank.

   Home > Contents > Index >

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