Skip to content

BasesViewConfig.getEvaluatedFormula method

BasesViewConfig › getEvaluatedFormula

Official

Retrieve a user-configured value from the config, evaluating it as a formula in the context of the current Base. For embedded bases, or bases in the sidebar, this means evaluating the formula against the currently active file.

Signature:

getEvaluatedFormula(view: BasesView, key: string): Value

Parameters:

Parameter Type Description
view BasesView
key string

Returns: Valuethe Value result from evaluating the formula, or NullValue if the formula is invalid, or the key is not present.

Since: 1.10.2