ExternalObject

Simplicite.Ajax. ExternalObject

Simplicité external object.

Constructor

new ExternalObject(app, name)

Description:
  • Constructor

Parameters:
Name Type Description
app Simplicite.Ajax

Application Simplicite.Ajax instance

name string

External object name

Members

metadata

Description:
  • External object meta data

    • name: external object name

External object meta data

  • name: external object name

Methods

getHelp() → {string}

Description:
  • Get help (is undefined as long as meta data are not loaded using getMetaData)

Returns:

Help

Type
string

getLabel() → {string}

Description:
  • Get label (is undefined as long as meta data are not loaded using getMetaData)

Returns:

Label

Type
string

getMetaData(params) → {Promise}

Description:
  • Get meta data

Parameters:
Name Type Description
params Object

Optional parameters

Properties
Name Type Description
error function

Custom error handler (unused by Promise with catch)

Returns:

Promise of meta data

Type
Promise

getName() → {string}

Description:
  • Get name

Returns:

Name

Type
string