Data Source Overview

The DataSource objects defined in AXVW views have corresponding Ab.data.DataSource objects on the client, which are exposed to JavaScript code. You can use these JavaScript DataSource objects to directly retrieve or save data records from your code, instead of calling AbCommonResources workflow rules.

The DataSource JavaScript object exposes a subset of the DataSource Java API. In JavaScript code you cannot define a new DataSource, or change properties of an existing view DataSource, but you can use methods that access the data.

The DataSource JavaScript methods do not actually perform database operations - there is no direct connection between the browser and the database. Instead, these methods call standard workflow rules that use server-side DataSource implementation to perform requested database operations.