hub.eb?material_id=345

Introducing the Client-Server API


The Verj.io Client-Server API is a client-side JavaScript API that provides functions for manipulating Fields and executing code on the Verj.io Runtime Environment.

The API is accessible via the global $eb interface that includes the following functions:

  • $eb.getFieldValue(...)
  • $eb.setFieldValue(...)
  • $eb.executeFunction(...)
  • $eb.executeFunctionAsynchronously(...)

For example, you could use $eb.executeFunction() to call a function in the Verj.io Runtime Environment that uses data and resources already loaded for the current user to return data to a charting library on the client.

Client-Server API calls can be made from a:

  • HTML Element Properties Event Handler
  • JavaScript Web Resource

Part of tracks

Related