#1 2017-02-27 14:50:59

Shraddha
Member
Registered: 2017-02-27

Passing argument from View to the backend groovy script in RS.

Hi All,

I want to create a view in RS, which will ask as an input the tablename and we will pass the tablename as input to the groovy script.
Based on the input  table name we will query the Oracle database .

I don't know how to achieve this. If someone can please help with the above question.

Offline

#2 2017-02-27 17:33:03

karolina
Member
Registered: 2014-08-09

Re: Passing argument from View to the backend groovy script in RS.

Hi,

You can do it by creating a script report with a parameter and then pass the parameter's value to the script.

You will find more information about parameters in the Admin Guide: Working with parameters and using parameters in the script report in the Script Guide: Working with parameters and arguments

Hope it helps.

Karolina

Offline

Board footer

Powered by FluxBB