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

 

asset:getdimparents

Get an IList of the dimensionable asset parents for particular asset.

Syntax

<asset:getdimparents
        list="name of output list"
        name="name of loaded asset whose parents will be returned"
     />

Attributes

list (required)
The name of the IList in the ICS object pool that will contain the dimension parents. The IList has 3 columns: TYPE, OBJECTID, GROUP, corresponding to the asset type, the asset id, and the group of the dimension parent.
name (required)
The name of the loaded asset whose dimension parent data will be returned.

Description

Get an IList of the dimensionable asset parents.

The IList has 3 columns: TYPE, OBJECTID, GROUP, corresponding to the asset type, the asset id, and the group of the dimension parent relationship.

Error Numbers

The possible values of errno include:

Value
Description
-101
No rows returned.
-502
List has no columns.

Example

The following demonstrates how it is possible to loop through the dimensions belonging to an asset.

<asset:getdimparents name="a3" list="a3.dim.parent.list"/>
<ics:listloop listname="a3.dim.parent.list">
    <ics:listget listname="a3.dim.parent.list" fieldname="TYPE" output="a3.dim.parent.c"/>
    <ics:listget listname="a3.dim.parent.list" fieldname="OBJECTID" output="a3.dim.parent.cid"/>
    <ics:listget listname="a3.dim.parent.list" fieldname="GROUP" output="a3.dim.parent.group"/>
</ics:listloop>

See Also

asset:setdimparents

   Home > Contents > Index >

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