Skip to main content
UndefinedNameError: reference to undefined name 'Pentaho' (click for details)
Callstack:
    at (Template:Custom/Views/Header/HeaderMenuGlobalNav), /content/body/pre, line 28, column 64
    at template()
    at (Template:Custom/Views/Header), /content/body/pre[1], line 31, column 12
    at (Documentation/8.0/Developer_Center/JavaScript_API/platform/pentaho.lang.ActionResult_constructor), /content/body/div/div/div/table[2]/tbody/tr/td/table/tbody/tr[2]/td[3]/p/em
Pentaho Documentation

ActionResult_constructor

pentaho.lang.ActionResult#constructor

Constructor

Name Description
new constructor(value, error)

Creates an ActionResult with a given value or error.

Constructor Details

new constructor(value, error)

Creates an ActionResult with a given value or error.

Source: javascript/web/pentaho/lang/ActionResult.js, line 62

Parameters:
Name Default Value Summary
value : object

The value of a successful action.

error : string | Error | pentaho.lang.UserError

The error that contains the reason why the action was rejected.