How to pass Catalog Item sys_id in Reference qual?

harish_nalla
Kilo Contributor

Hi

 

I am trying to pass Catalog Item sys_id from Reference qual of a variable to Script Include.

But whenever i does current.sys_id, it is passing random value to the Script Include. Neither passing current alone has worked.

The syntax how i used Reference qual is as follows: javascript: new SIName().functionName(current.sys_id);

 

What should i do instead?

Thanks in advance.

Regards

6 REPLIES 6

Hi Deepak

 

This is what i have done now, created a variable which is hidden and stores sys_id fetched from g_form.getParameter("sysparm_id");

I was expecting some direct value on Reference qual, instead Variable.

 

Nevertheless, thanks alot for your solution.

 

Regards

Harish

Glad to see it worked for you !!!

Could you please close the thread by marking reply as "correct / helpful" so that it can help others with same question?