Stringfunctions+ | Formula RECORDVAL

Description

This formula retrieves values from an object.

Formula(s)

PHP
{=RECORDVAL("Object class";"Object ID";Attribute;Formatted)}
{=RECORDVAL("Object class";"Object ID";Attribute;Medium)}

Result

  • String

Parameters

Parameter
Content
Format
Default value
Explanation

Object class

 

String

 

e.g. Pdmarticle for products

Object ID

 

String

Integer

 

 

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.