How to Get Catalog Item name or sys id in catalog Client script in service portal

Rohit Khaire
Mega Contributor

Hi Team,

I have one business requirement to get the category of current Item opened in service portal, so I have created script including and trying to feed sys id of the current item.

But unfortunately window or document object will not work in service portal.

If anybody has tried this please help me by letting me know.

Thanks I Advance.

1 ACCEPTED SOLUTION

Sanjeev Kumar1
Kilo Sage

Hi,


For sys_id.



try it.


var Sysid = g_form.getUniqueValue();


View solution in original post

2 REPLIES 2

Sanjeev Kumar1
Kilo Sage

Hi,


For sys_id.



try it.


var Sysid = g_form.getUniqueValue();


Rohit Khaire
Mega Contributor

Worked thanks,



Appriciated for qucik response