cancel
Showing results for 
Search instead for 
Did you mean: 

Pass Input Parameter to CV in XSJS file

former_member258682
Participant
0 Kudos

Hi Folks,

I am trying to pass input parameter from xsjs url to CV but I am not able to do this.

No matter what I pass in the URL it is taking Default Value of input parameter from CV.

I used :

var abc= $.request.parameters.get('x');

var query=select * from <CV_NAME>('placeholder'=('$$input_para$$',"+abc+"));

Even if I am Hardcoding 2nd statement it is not working:

var query=select * from CV ('Placeholder'=('$$input_para$$',\'123\'))

this is also giving the default value of parameter mentioned in the CV not the hard coded one.

Please help me though this.

Thank you all!

Accepted Solutions (0)

Answers (1)

Answers (1)

pfefferf
Active Contributor
0 Kudos

Please can you paste your complete code snippet. The provided erroneous things do not give any hint, what db interface you used, what methods you used ...

Thx.

Florian