Page 1 of 1

rendering control based on variable type and data source

Posted: Thu Sep 03, 2020 5:48 am
by shyam.pundkar
Hi,

I want to know if there a way to render control based on variable type and data source?

The scenario is to be able to create 5 user defined variables in report:

(1) An integer variable
a. Normal Variable
b. List of value
(2) A String Variable
a. User entered String value
b. List of String Values
(3) A Boolean variable

When the report is being generated, the user can specify these variables (this basic feature is there).
But the input are just user “typed” in value, even if you configure the variable to be a defined list of values, so that the user can pick one value from a list of value. E.g. a string variable that’s got this list “AAA”, “BBB”, “CCC”, “DDD”. Then the user can only select of those 4 values. Basically displaying a control similar to select html listing all items of the datasource.

Also, if it’s Boolean, if there would be a checkbox so use can just select. If it’s an integer, only numbers are allowed.

Can we have such control representing the variable type and data sources?

Thanks

Re: rendering control based on variable type and data source

Posted: Fri Sep 04, 2020 6:25 pm
by Lech Kulikowski
Hello,

No, this feature is not available.

You can use only variables types available in the dictionary.

Thank you.