Need to Retrieve the Parent from any one of the Child Records From List table
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-25-2024 11:57 AM
I have the custom table, which has the list of child records as a column and i want to get the parent record from this child records when i click the list bottom button?
What is my requirement is when I click the button, it has to look any one of the child record and get me the parent record using Client script/Server Script?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-25-2024 04:38 PM
Since its a reference field can you not get the value by dotwalking?
current.reference_field_name;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-31-2024 06:30 PM
Hello,
There are some ambiguities in this requirement
1) Is the the child a list field so any record can have multiple child isn't it?
2) When you select a record and click on list action you can get all child record associated to those records do you want to show all the parent (assuming same record can be child of many records) ?
If all the assumptions above are correct, you can write a UI page and have evaluate tag to get child record of the selected record and do GlideRecord on all parents and display the results on UI page. This UI page can be invoked from UI action and make sure to select "