Load a data source from a view file
Load a data source from a view file
You can load additional data sources, and use them from your JS code to load or save records, or to use as highlight or label data sources for a drawing panel. Additional data sources must be defined in an AXVW file.
To load a data source:
var dataSource = Ab.data.loadDataSourceFromFile(viewName, dataSourceId); var records = dataSource.getRecords(restriction);