Page 1 of 1

Parameter ID vs. Name

Posted: Wed Jul 15, 2020 5:07 pm
by FGa
Hi,

I am pretty new in using Stimulsoft for creating reports in our application.
We use the Version 2017.1.7, but I reproduced the problem I have also on Stimulsoft Demo (Version 2020.3.2) from the cloud.

The problem is in general, that I don't get the value of a parameter displayed, but only the ID. I found something about using the Tags, but I couldn't apply it successfully.

Tested on:
ChartOnDataband: https://demo.stimulsoft.com/#Net/ChartOnDataband
Parameter: TEST
The attachment ParameterSettingsCategory.png is no longer available
Keys: Categories.CategoryID
Values: Categories.CategoryName

I need the Category Name to be displayed closed to the title of the Chart, but I only get the ID displayed.

I couldn't find anything helpful in the forum or in the manual.
I also have a filter in the chart similar to this (same expression type):
ParameterSettingsCategory.png
ParameterSettingsCategory.png (140.73 KiB) Viewed 1479 times
If anybody as a hint for me, how to fix my problem, that would be very helpful.

Best regards
Francesca

Re: Parameter ID vs. Name

Posted: Wed Jul 15, 2020 9:09 pm
by Lech Kulikowski
Hello,

Unfortunately, it is not possible to use Key and Value separately, in the report is used only Key value.

Thank you.

Re: Parameter ID vs. Name

Posted: Fri Jul 17, 2020 6:44 am
by FGa
Thanks Lech for your feedback. Is there any workaround I could apply?

We have different reports/customers asking for it...

Re: Parameter ID vs. Name

Posted: Sun Jul 19, 2020 7:16 am
by Lech Kulikowski
Hello,

Unfortunately, at the current moment, no.

Thank you.

Re: Parameter ID vs. Name

Posted: Mon Jul 20, 2020 6:33 am
by FGa
OK, maybe my "own" workaround could be useful to any other user here:

I suggested my customers to use a manual variable (string), where the user can enter manually the "Name" instead of the Key and this will be shown in the report:
here are the settings of the variable
ParameterSettingsCategoryManual.png
ParameterSettingsCategoryManual.png (75.33 KiB) Viewed 1447 times
and here is the result (I put it on the bottom for layout reasons)
ResultCategoryManual.png
ResultCategoryManual.png (115.34 KiB) Viewed 1447 times

Re: Parameter ID vs. Name

Posted: Tue Jul 21, 2020 7:18 am
by Lech Kulikowski
Hello,

Thank you for the information.

Thank you.