Getting Records Using the DataSource

Get a single record specified by a restriction:

var restriction = row.getRecord().toRestriction();
var record = this.requestDataSource. getRecord (restriction);


Get an array of records specified by a restriction:

var restriction = this.searchConsole.getFieldsRestriction();
var records = this.requestDataSource. getRecords (restriction);


Get all available records without a restriction, up to a record limit specified in AXVW:

var records = this.requestDataSource. getRecords ();