What is the best way to auto populate a new form when you click a related link?

Ben F_
Giga Contributor

Hey all, 

I have created a related link on the incident record that takes you to a new record. (A table I have created) On the new record, I am trying to auto populate the incident field and some of the other fields (configuration item, location, customer,etc) from the incident record you click the link on. 

In short, click a related link > take you to a new form > new form has auto populated fields from the incident record you were on. 

 

Let me know if you need more details and I will try to accommodate. 

Thanks, 

Ben

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

Hi Ben,

you can send those values into the URL as parameter; in onLoad client script of the table fetch the values from the URL and set it on form

Mark Correct if this solves your issue and also mark Helpful if you find my response worthy based on the impact.
Thanks
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

5 REPLIES 5

Ankur Bawiskar
Tera Patron
Tera Patron

Hi Ben,

you can send those values into the URL as parameter; in onLoad client script of the table fetch the values from the URL and set it on form

Mark Correct if this solves your issue and also mark Helpful if you find my response worthy based on the impact.
Thanks
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader