Skip to main content
Skip table of contents

Stringfunctions+ | Formula FIRSTPARENTVAL

Description

This formula retrieves a value from the first parent element of the current context object at which a value is maintained.

Formula(s)

PHP
{=FIRSTPARENTVAL("Attribute";Formatted;Retrieve from current context object first)}
{=FIRSTPARENTVAL("Attribute";Medium;Retrieve from current context object first)}

Result

  • String

Parameters

Parameter
Content
Format
Default value
Explanation

Attribute

Attribute name or attribute ID

Attribute name: String

Attribute ID: Integer

 

 

Formatted

TRUE or FALSE

Boolean

TRUE

TRUE: Formatted

FALSE: Unformatted

Retrieve from current context object first

TRUE or FALSE

Boolean

FALSE

TRUE: The value of the current context object is retrieved first

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.