Data Source API

Provides run-time access to the Data Source function and Data Source State.

Data Source API Methods

MethodDescription
addDataSource(dataSource)Adds new DataSource to State
clearDataSource()Clears currently selected DataSource
createDataSource(dataSourceName, dataSourceDescription)Creates a DataSource from a given name and description
getAllDataSource()Retrieves all Data Sources in the Adaptable State
getCurrentDataSource()Retrieves the currently applied Data Source
getDataSourceByName(dataSourceName)Retrives Data Source from State with given name
getDataSourceState()Retrieves Data Source section from Adaptable State
setDataSource(dataSource)Makes given DataSource current
showDataSourcePopup()Opens Data Source popup screen

See API documentation for full details of all available functions with lists of parameters

More Information