Hi All, Good day!
The Record Chat element is only fetching details from the principle record type but not from related record types, even after specifying the relatedRecordType.relationship field. Any help/suggestion is appreciated.
Discussion posts and replies are publicly visible
shuvokar If you are using one-to-many related record data, use a!relatedRecordData() to filter, sort, and limit the related record sets. The maximum of 100 related records will be returned.Let me know if that works for you.
Thanks for your response Subham. I have followed the same example from the documentation, but that did not work.
If possible can you share your code snippet for better understanding. Also make sure data should present for that relationship in record.
shuvokar What was the issue?
Hi Shubham Aware , I did not populate the "fields" earlier. I realized that if we do not populate fields parameter, it by default fetches details only from the main record type and ignores related records.
Got it!