How to get record sys_id while in formatter via jelly..

erik_brostrom
Mega Guru

Wondering if there is a way to get the sys_id from the record that the formatter resides on via jelly other than doing the RP.getParameter method.

With how the URL now appears, it is possible to have multiple sys_id's up there so a better method has to be available somewhere.

Any insight would be greatly appreciated, thanks!

1 ACCEPTED SOLUTION

salcosta
Giga Contributor

You can use `current` however everything you do must be in Phase 2 Jelly so `g2` `j2` and $[current].


View solution in original post

3 REPLIES 3

Jace Benson
Mega Sage

I know you can get it client side with a g_form.getUniqueValue();


salcosta
Giga Contributor

You can use `current` however everything you do must be in Phase 2 Jelly so `g2` `j2` and $[current].


This works! Thank you!