Interface IRVDataSourceProvider
The interface that must be implemented and set to DataSourceProvider in order to replace data sources when a dashboard is opened. See 'Replacing data sources' in the developer guide for more information.
Namespace: Reveal.Sdk.Data
Assembly: Reveal.UI.Sdk.dll
Syntax
public interface IRVDataSourceProvider
Methods
ChangeDataSourceItemAsync(RVDataSourceItem)
This method can be used to replace the data source used by a given visualization, returning null
indicates Reveal to use
the original data source stored in the dashboard.
Declaration
Task<RVDataSourceItem> ChangeDataSourceItemAsync(RVDataSourceItem dataSourceItem)
Parameters
Type | Name | Description |
---|---|---|
Reveal.Sdk.Data.RVDataSourceItem | dataSourceItem | Information about the data source being used, like the name of the table, database, etc. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<Reveal.Sdk.Data.RVDataSourceItem> | The new data source to use or |