Shared Data Source Parameter Issue in 2 different Reports

1 Answer 9 Views
DataSource SQL DataSources Report Designer - Web Report Parameters
Wadiya
Top achievements
Rank 1
Wadiya asked on 22 May 2025, 01:58 PM

Hello Telerik Team,

We are currently working with Telerik Report Server and leveraging shared data sources that use SQL parameters (e.g., @StartDate, @CustomerID) mapped from report parameters.

While the shared data source model is helpful for reusability, we are facing the following challenges and have some enhancement inquiries:


❗Current Issue: Parameter Name Coupling

When reusing a shared data source in multiple reports:

  • The SQL parameters (e.g., @CustomerID) require exactly matching report parameter names in every report.

  • This limits flexibility β€” as we cannot remap SQL params like @CustomerID to a differently named report parameter like CustomerFilter within the report context.


πŸ” Our Use Case & Requirements

We would like to explore one or more of the following options:

βœ… Option 1: Manual Mapping Support Per Report

Allow a report designer to map differently named report parameters to the SQL parameters of a shared data source without requiring parameter renaming across all reports.

βœ… Option 2: Override Shared Data Source in Report Context

Enable overriding SQL parameter bindings for shared data sources within a report, without modifying the shared data source globally.

This would be similar to inline data sources β€” but using shared DS assets with local overrides or duplicating it.

βœ… Option 3: Make Shared Resources Read-Only

We would like to allow usage of shared data sources across teams without allowing edits:

  • Is it possible to make shared resources (like data sources and reports) usable but not editable by most users?

  • Ideally, only admins or asset managers should be able to modify shared resources, while consumers can use them as-is (e.g., bind, preview, clone).

1 Answer, 1 is accepted

Sort by
0
Todor
Telerik team
answered on 27 May 2025, 01:59 PM

Hi Wadiya,

Thank you for the perfectly valid feature requests regarding our Web Report Designer. I suggest logging them to the public feedback portal, where the other Telerik Reporting and Telerik Report Server users may vote for them and increase their priority.

I can suggest a limited workaround for the first requirement: Option 1: Manual Mapping Support Per Report. You may use an Expression with the Global Object ReportDefinition:

= Switch(ReportDefinition.Name,
   'Report1', Parameters('Parameter1').Value,
   'Report2', Parameters('Parameter2').Value,
   Parameters('Parameter3').Value)

The above Expression switches between Report Parameter names based on the Report name.

For the last 'Option 3: Make Shared Resources Read-Only', I suggest the article Web Report Designer Customization.

You may consider the following values in the Permission enumeration:

      /// <summary>
        /// Parent permission for shared data sources.
        /// </summary>
        Commands_DataSources_SharedDataSource,
        /// <summary>
        /// Permission for creating a shared data source.
        /// </summary>
        Commands_DataSources_SharedDataSource_Create,
        /// <summary>
        /// Permission for editing a shared data source.
        /// </summary>
        Commands_DataSources_SharedDataSource_Edit,
        /// <summary>
        /// Permission for deleting a shared data source in Assets manager. N/A for removing a shared data source from a report.
        /// </summary>
        Commands_DataSources_SharedDataSource_Delete

Regards,
Todor
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
DataSource SQL DataSources Report Designer - Web Report Parameters
Asked by
Wadiya
Top achievements
Rank 1
Answers by
Todor
Telerik team
Share this question
or