- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-08-2017 05:59 AM
Hi Team,
If i have a form opened. This form contains a related list. In related list if i create a new form then its fields should be auto-populated from the current opened form. Please tell how to achieve this?
Regards
Ramandeep
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-08-2017 06:28 AM
Hi Ramandeep,
Only the field which refers to the parent table will be auto-populated if you want to populate some other field then some manipulation has to be done.
One thing you can do is have onLoad client script and since you already have a reference field to parent, using g_form.getReference() with callback you can auto-populate that.
you can try it out.
Mark Correct if this solves your issue and also hit Like and Helpful if you find my response worthy based on the impact.
Thanks
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-08-2017 06:58 AM
Sure Ramandeep.
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-09-2017 02:31 AM
Thanks Ramandeep for marking the answer as correct.
Could you also mark it helpful and hit like. Thanks in advance.
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-15-2019 07:59 PM
Hi Ankur,
I'm trying to achieve the exact opposite requirement. The fields in the related list should get populated in the current form.
I have Change request form which has Glide list fields Location, Department, Company and these fields should auto-populate all the companies, departments, locations of all the related Affected CIs.
Please help. Any help will be appreciated.
Thanks,
Poonam