[]
In ActiveReports, a shared data source refers to a file in RDSX format that contains data connection information. RDSX (Report Data Source XML) is a proprietary file format that functions as a data source for a single report or multiple reports.
You can use this data source in the Page report and the RDLX report.
type=note
Note: The WebDesigner and Blazor WebDesigner components uses the 'shared data source' approach to encapsulate the data connection on the server-side. See Configure and Use Shared Data Sources in WebDesigner and Configure and Use Shared Data Sources in Blazor Designer for more information.
type=note
Note: An RDSX file contains the connection string, but you cannot define a data set in it. See Add a Dataset for information on creating a data set.
You can save a data connection type such as an OleDb connection, Json connection, or an XML connection as a Shared Data Source (RDSX). This topic provides the steps to create a shared data source with a data connection. Using shared data source, multiple reports can connect to a same data source. See Connect to a Data Source on how to connect a report to a data source.
Right-click the data source in the Report Explorer and select Share Data Source option.
In the Save Shared Data Source File dialog that appears, enter the file name and click the Save button to save the file in RDSX format.
Notice that the data source icon changes to show sharing.
Data Source Icon | Shared Data Source Icon |
---|---|
![]() |
![]() |
In ActiveReports, you can connect to most data sources using the steps in the Connect to a Data Source. However, you need to follow the below steps to connect to a Shared Data Source.
These steps assume that you have already connected your report to a shared data source.