prepareConfiguredFieldData()

Overview

public any function prepareConfiguredFieldData(
      required string fieldType         
    , required struct fieldConfiguration
    , required any    savedValue        
)

Prepares a saved field value for the field type in readiness for evaluation. Field types can provide their own 'prepareConfiguredFieldData' handler action to implement time sensitive and dynamic value evaluation in cases where the saved value requires dynamic processing prior to expression evaluation. For example, a saved time range of 'within the last 4 days' could be processed at runtime to return a simple date range struct with datefrom and dateto keys.

Arguments

NameTypeRequiredDescription
fieldTypestringYesName of the fieldtype
fieldConfigurationstructYesField type configuration options for the specific field
savedValueanyYesSaved value to process