How to auto populate reference fields with client scripts
This content was last updated in 2022. It may still be useful, but could contain outdated information. Please confirm its accuracy before relying on it.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2021 10:50 AM
How do I write a client script to auto populate a reference field when "requested for/name" field is populated?
6 REPLIES 6
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2022 04:56 AM
Helpful!!
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2022 03:51 AM
Hi,
In Catalog item once the requested for field is filled manually, then to auto populate the related fields, rather than using the client script we can use the "Catalog Data Lookup Definitions" new feature provided by ServiceNow.