Skip to main content
All docs
V24.1

ReportDesignerWizardSettings.EnableFederationDataSource Property

Gets or sets whether the Specify Data Source Settings (Data Federation) page is enabled in the Report Wizard and Data Source Wizard.

Namespace: DevExpress.XtraReports.Web.ReportDesigner

Assembly: DevExpress.XtraReports.v24.1.Web.WebForms.dll

NuGet Package: DevExpress.Web.Reporting

Declaration

[DefaultValue(true)]
public bool EnableFederationDataSource { get; set; }

Property Value

Type Default Description
Boolean true

true, to enable the Select data source type (Data Federation) page; otherwise, false.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to EnableFederationDataSource
Reporting ASPxReportDesigner
.SettingsWizard .EnableFederationDataSource
ASP.NET MVC Extensions ReportDesignerSettings
.SettingsWizard .EnableFederationDataSource

Remarks

The following code example hides the Data Federation item in the Select Data Source type wizard page:

public IActionResult ReportDesigner(
    [FromServices] IReportDesignerModelBuilder reportDesignerModelBuilder,
    [FromQuery] string reportName) {
    reportName = string.IsNullOrEmpty(reportName) ? "TestReport" : reportName;
    var designerModel = reportDesignerModelBuilder
        .Report(reportName)
        .WizardSettings(s => {
            s.EnableFederationDataSource = false;
        })
        .BuildModel();
    return View(designerModel);
}

Data Federation Item in Report Wizard

See Also