Stringfunctions+ | Formula CHILDVAL

Description

Retrieves a value from the children of the current context object.

Formula(s)

PHP
{=CHILDVAL(Attribute;[Level];Formatted;Inherited values)}
{=CHILDVAL(Attribute;[Level];Medium;Inherited values)}

Result

  • Array

Parameters

Parameter
Content
Format
Default value
Explanation

Attribute

Attribute ID or attribute name

Attribute ID: Integer

Attribute name: String

 

 

Level

Array with levels where to read from

Array

[]

For example, [3,5] reads the values from all children in the 3rd and 5th level. The default is [] and reads all levels.

Formatted

TRUE or FALSE

Boolean

TRUE

TRUE: Formatted

FALSE: Unformatted

Inherited values

TRUE or FALSE

Boolean

FALSE

TRUE: Inherited values will be considered

FALSE: Inherited values will not be considered

Medium

Medium for which the value is to be returned

String

MEDIUM_NONE

Possible values:

  • MEDIUM_NONE

  • MEDIUM_TEXT

  • MEDIUM_HTML

  • MEDIUM_EXPORT

  • MEDIUM_EDITOR

  • MEDIUM_TRANSLATIONMANAGER

  • MEDIUM_MASSEDITOR

  • MEDIUM_API

  • MEDIUM_TABLEAPI

This parameter depends on the CSType implementation. Not every CSType supports all media.