List variable not appearing on rendered report

Stimulsoft Reports.WEB discussion
semaphore
Posts: 19
Joined: Fri Jul 24, 2020 12:53 pm

List variable not appearing on rendered report

Post by semaphore »

Good Day,

We are trying to add filter variables to our report and repopulate them with some static data, however when the report is rendered in .net core the list is empty.
The attachment img 1.PNG is no longer available
img2.PNG
img2.PNG (11.8 KiB) Viewed 3757 times
Please advise.
Attachments
img 1.PNG
img 1.PNG (16.7 KiB) Viewed 3758 times
semaphore
Posts: 19
Joined: Fri Jul 24, 2020 12:53 pm

Re: List variable not appearing on rendered report

Post by semaphore »

Any feedback on the above? Is this another feature not present in the .NET core version?
Lech Kulikowski
Posts: 7336
Joined: Tue Mar 20, 2018 5:34 am

Re: List variable not appearing on rendered report

Post by Lech Kulikowski »

Hello,

Tha issue is fixed. The fix will be available in the next build in the next week.

Thank you.
semaphore
Posts: 19
Joined: Fri Jul 24, 2020 12:53 pm

Re: List variable not appearing on rendered report

Post by semaphore »

Thanks, further to this once a variable is setup how can one reference it say in a filter or SQL parameter? would I just go Division.Value?
Lech Kulikowski
Posts: 7336
Joined: Tue Mar 20, 2018 5:34 am

Re: List variable not appearing on rendered report

Post by Lech Kulikowski »

Hello,

To use List variables in the query, you should use ToQueryString() method.

Thank you.
Attachments
ListInQueryID.mrt
(6.76 KiB) Downloaded 429 times
semaphore
Posts: 19
Joined: Fri Jul 24, 2020 12:53 pm

Re: List variable not appearing on rendered report

Post by semaphore »

Lech Kulikowski wrote: Thu Aug 27, 2020 6:47 am Hello,

To use List variables in the query, you should use ToQueryString() method.

Thank you.
How would you use the var2,var1 in the databand filter or sql sproc parameter?

Edit: Do the filters allow expressions?
Lech Kulikowski
Posts: 7336
Joined: Tue Mar 20, 2018 5:34 am

Re: List variable not appearing on rendered report

Post by Lech Kulikowski »

Hello,

In the report, var1 is used for select values, in var2 is added check to empty list and prepare string for the query.

Thank you.
semaphore
Posts: 19
Joined: Fri Jul 24, 2020 12:53 pm

Re: List variable not appearing on rendered report

Post by semaphore »

When is the fix for this going to be released? It's currently a critical blocker on our software and I have not seen any updated nuget packages for it, the current version im running is 2020.4.1.1
semaphore
Posts: 19
Joined: Fri Jul 24, 2020 12:53 pm

Re: List variable not appearing on rendered report

Post by semaphore »

Lech Kulikowski, may I please have an indication as to when the fix is going to be released for the above issue?
Lech Kulikowski
Posts: 7336
Joined: Tue Mar 20, 2018 5:34 am

Re: List variable not appearing on rendered report

Post by Lech Kulikowski »

Hello,

The new build will be available within several days.

Thank you.
Post Reply