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

 

ASSETSET.GETATTRIBUTEVALUECOUNT

Gets the count of distinct attribute values for a specific attribute associated with the products represented by an assetset.

Syntax

Parameters

NAME (required)
Input parameter. Name of the assetset object.

ATTRIBUTE (required)
Input parameter. Name of an attribute whose values are to be looked up.

TYPENAME (optional)
Input parameter. Asset type name of the attribute. The default is set in the gator.ini file: mwb.defaultattributes=PAttributes.

IMMEDIATEONLY (optional)
Input parameter. Boolean value indicating whether to include inherited attribute values or not. A false value indicates that inherited values should be included (the default).

VARNAME (required)
Input and output parameter. As input, name of the variable that holds the count of the unique values requested on output.

Description

This tag generates one or more database queries, in order to count the number of distinct values of the attribute specified. Values inherited from parent assets may also be counted by this tag.

NOTE: This tag also causes dependencies to be recorded for all assets that contribute to the returned count, or if this assetset object is not an enumerated one, then the equivalent of RENDER.UNKNOWNDEPS will be performed.

Example

  Home > Contents > Index >

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