Reference caller field in short description - when making template from template bar

Robert134
Tera Contributor

Making a template from the template bar - is it possible to reference the caller field/caller field of the parent in these templates? e.g. javascript:get.something(Caller)?

Robert134_0-1698804149352.png

Or does it have to be scripted?

1 REPLY 1

Tai Vu
Kilo Patron
Kilo Patron

Hi @Robert134 

You can use GlideSystem in the Template table. Sample

javascript:gs.getUserID();

 

If you'd like autofill based on the parent record, you can define an OnChange Client Script with AJAX call to achieve it.

 

Cheers,

Tai Vu