Get a first look at what's coming. The Developer Passport Australia Release Preview kicks off March 12. Dive in! 

How to get the sys_id of a catalog item using the Reference qualifier

yuchen zhang
Tera Contributor

Hi everyone, I am making a variable filter and need to know the sys_id of the current catalogitem, but the g_form.getUniqueValue() method can only be applied in the clientscript. Is there any other way to solve my problem?

Thanks in advance.

画像1.png

1 ACCEPTED SOLUTION

Raghav Sharma24
Giga Patron

current.cat_item will return the catalog item sys_id, you can use that accordingly.

 

example, if you want to pull RITMs related to current cat item, the ref qualifier will be:

 

javascript:'cat_item='+current.cat_item;


Please mark the answer correct/helpful accordingly.

View solution in original post

2 REPLIES 2

Raghav Sharma24
Giga Patron

current.cat_item will return the catalog item sys_id, you can use that accordingly.

 

example, if you want to pull RITMs related to current cat item, the ref qualifier will be:

 

javascript:'cat_item='+current.cat_item;


Please mark the answer correct/helpful accordingly.

Thank you!!