I want to populate fields from a table I referenced in other field.

Ct111
Giga Sage

Hi Everyone,

I have a reference field on Incident form   and based on the selection of that field i want to populate values in three other fields( that is corresponding to that reference field) in Incident form . Can anybody help me .. Also let me know is there any other way of achieving it rather than script include

2 REPLIES 2

Shishir Srivast
Mega Sage

You can do a dot walking to add those field on form. Right click on the form and open the form layout then select the field and then click in tree symbol to select the required field which you want to show on the form.



find_real_file.png     find_real_file.png


Raju Koyagura
Tera Guru

There is a possibility that you can get the reference field tables other field values on incident table but the label shows same as it is in reference table. For example,


We have a caller field on Incident table which is referring User table, if we want to show Caller Email, Location and Manager on Incident form we can simply dot walk the caller field using form layout and get those fields display them on Incident without any code.


find_real_file.png



If you are not looking for this and you want to auto populate values in some different tables better depend on script include else getReference call back functions


http://wiki.servicenow.com/index.php?title=GlideForm_(g_form)#getReference