EnableFederationWhenOnlyReportDataSourcesAvailable Function
Enables or disables data federation option when only report data sources are available.
Declaration
export const EnableFederationWhenOnlyReportDataSourcesAvailable: DevExpress.Analytics.Internal.IGlobalSubscribableValue<boolean>
Parameters
| Name | Type | Description |
|---|---|---|
| newVal | boolean |
|
Returns
| Type |
|---|
| boolean |
Remarks
Important
This property is now obsolete and will be removed in future versions.
When this property is set to true, the Data Source Wizard displays the option to create a Data Federation when a report contains one or more supported data sources, even if no connection string provider is registered:
| True | False |
|---|---|
![]() |
![]() |
The following code snippet sets the EnableFederationWhenOnlyReportDataSourcesAvailable property to true:
@model DevExpress.XtraReports.Web.ReportDesigner.ReportDesignerModel
<script>
function BeforeRender(s, e) {
DevExpress.Reporting.Designer.Settings.EnableFederationWhenOnlyReportDataSourcesAvailable(true);
}
</script>
@{
var designerRender = Html.DevExpress().ReportDesigner("reportDesigner")
.Height("100%")
.ClientSideEvents(events => {
events.BeforeRender("BeforeRender");
})
.Bind(Model);
@designerRender.RenderHtml()
}

