-
Notifications
You must be signed in to change notification settings - Fork 659
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
Table datasource command parameter is not updating programmatically via report parameter
To Reproduce
Steps to reproduce the behavior:
- Create a report parameter
UserId - Create a table datasource with command parameter
UserId - Assign Expression
[UserId]to command parameterUserId - Set the
UserIdreport parameter value via code:
report.SetParameterValue("UserId", userId); - Get the table datasource:
var connection = report.Dictionary.Connections.First();
var ds = connection.Tables.First();
await ds.InitAsync();
var count = ds.Table.Rows.Count;
Expected behavior
The datasource should be filtered based on UserId parameter value after calling ds.Init(), but the command parameter value is empty.
Of course, I can set command parameter via ds.Parameters, but report parameter should be working too.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working