- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2023 11:21 PM
Hi , i have requirement to map the parent field record to be mapped in related list tab (related requested item).
can someone help me on this. Thanks!
i have used the below Query and it is pulling the current record instead of parent record.
current.addQuery('parent',parent.parent);
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2023 03:50 AM
Hi @Anupriya_11 ,
In below example i am showing services in related list link to incident in incident Service field is reference
Check applies to table and queries from table is correctly designed and script modify as per your requirment
current.addQuery('sys_id', parent.parent.sys_id);
Thanks,
Anand
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2023 11:39 PM
Hi @Anupriya_11 ,
Try this
current.addQuery('parent', parent);
Please mark it as solution proposed and helpful if its serves your purpose.
Thanks,
Anand
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2023 02:53 AM
Tried this
current.addQuery('parent', parent);
no it is not working ,Showing the tab empty.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2023 03:07 AM
Tru below one
current.addQuery('parent', parent.parent.sys_id);
Thanks,
Anand
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2023 03:50 AM
Hi @Anupriya_11 ,
In below example i am showing services in related list link to incident in incident Service field is reference
Check applies to table and queries from table is correctly designed and script modify as per your requirment
current.addQuery('sys_id', parent.parent.sys_id);
Thanks,
Anand