Stringfunctions+ | Formula PARENTVAL

Description

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

In addition, unlike FIRSTPARENTVAL, this formula always retrieves the default value of the attribute - if one is specified - regardless of whether the attribute is present on the object or not.

Formula(s)

PHP
{=PARENTVAL(Attribute;Formatted)}
{=PARENTVAL(Attribute;Medium)}

Result

  • String

Parameters

Parameter
Content
Format
Default value
Explanation

Attribute

Attribute ID or attribute name

Attribute ID: Integer

Attribute name: String

 

 

Formatted

TRUE or FALSE

Boolean

TRUE

TRUE: Formatted

FALSE: Unformatted

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.