Hi Telerik Team,
We are using the Standalone Telerik Report Designer to create .trdx
reports and upload them to a local Telerik Report Server. Our application is built in ASP.NET MVC and uses a helper function to load reports from the server using UriReportSource
the embedded Report Viewer.
Helper Function:
{
public static IReportViewerBuilder GetReportViewerConfig(this HtmlHelper htmlHelper, string reportId, string reportSource, Dictionary<string, string> reportParams)
{
var uriReportSource = new UriReportSource
{
Uri = reportSource
};
foreach (var param in reportParams)
{
uriReportSource.Parameters.Add(param.Key, param.Value);
}
return htmlHelper.TelerikReporting().ReportViewer()
.Id(reportId)
.ReportServer(new ReportServer()
{
Url = ReadConfigData.REPORT_SERVER_URL,
Username = ReadConfigData.REPORT_SERVER_USERNAME,
Password = ReadConfigData.REPORT_SERVER_PASSWORD
})
.ReportSource(uriReportSource)
.ViewMode(ViewMode.Interactive)
.ScaleMode(ScaleMode.FitPageWidth)
.PersistSession(false)
.SendEmail(new SendEmail { Enabled = true })
.Parameters(new Parameters
{
Editors = new Editors
{
MultiSelect = EditorTypes.ComboBox,
SingleSelect = EditorTypes.ComboBox
}
})
.EnableAccessibility(false);
}
}
Currently, we have separate Report Server instances for each environment (local, staging, production). This setup works fine, but it's becoming inefficient because:
Whenever we create or modify a report in the local Report Server, we have to manually re-upload the same report to staging and production.
Even for small changes, we need to repeat the entire process for each server.
There's no easy way to track or sync updates between environments.
We are looking for a way to sync reports across report servers, or at least streamline the update process.
Is there any built-in support, recommended approach, or workaround to:
Automatically sync reports from one Report Server to another?
Export/import reports in bulk?
Keep multiple environments in sync efficiently?
Any guidance or tooling suggestions would be greatly appreciated. Thanks!
Best Regards,
Prabesh Shrestha