Record created from Related list
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2025 10:05 PM
How can I achieve the following.
On a parent table, when I click New on the related list, a new record (child) created should automatically fill in some of the field values from the parent table.
Regards,
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2025 10:19 PM
Community Alums
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2025 11:38 PM
Hi @Sandhya23,
You can achieve this through UI action.
var newIncRecord = new GlideRecord('task');
newIncRecord.initialize();
newIncRecord.short_description = current.short_description;
newIncRecord.description = current.description;
newIncRecord.priority = current.priority;
newIncRecord.insert();