Skip to Content
avatar image
Former Member

xsjs failed with error(s): TypeError: $.request is undefined (line 3 position

Hi,

I am trying to pass a parameter 'firstId'and I get following error :

TypeError: $.request is undefined (line 3 position

this is the code that I am using:

function My_Test(firstId)

{

var test = $.request.parameters.get("firstId");

var selectContacts ='select * from "abc_TEST"."CONTACTS_TEST" WHERE "Id"<= ?';

var quey = selectContacts.replace('?', firstId);

var connection = $.hdb.getConnection();

var contacts = connection.executeQuery(selectContacts,test)

Any help is highly appreciated.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers