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 when a rule is fulfilled.

Formula(s)

PHP
{=RULECHILDVAL(Attribute;Rule ID;[Level];Formatted;Inherited values)}
{=RULECHILDVAL(Attribute;Rule ID;[Level];Medium;Inherited values)}

Result

  • Array

Parameters

Parameter
Contents
Format
Default value
Explanation

Attribute

Attribute ID or attribute name

Attribute ID: Integer

Attribute name: String

 

 

Rule ID

ID or name of the rule to be fulfilled

Rule ID: Integer

External 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.