Skip to main content
Skip table of contents

Rules+ | Formula RULECHILDVAL

Description

This formula retrieves a value from the children of the current context object.

Formula(s)

PHP
{=RULECHILDVAL("Attribute";"Rule ID or key";Level;Formatted;Inherited values)}
{=RULECHILDVAL("Attribute";"Rule ID or key";Level;Medium;Inherited values)}

Result

  • Array

Parameters

Parameter
Contents
Format
Default value
Explanation

Attribute

Attribute name or Attribute ID

Attribute name: String

Attribute ID: Integer

 

 

Rule ID or key

Rule to be fulfilled

Rule ID: Integer

Key: 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.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.