How to pass Catalog Item sys_id in Reference qual?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2018 07:54 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2018 02:02 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2018 08:25 AM
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?