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.
Hello there!
It seems like the Record Chat element is not retrieving details from related record types, even after specifying the relatedRecordType.relationship field. I'd suggest checking a few things to troubleshoot and find a solution
Hi!
You must specify the fields you would like to pull from the related record within the fields parameter, or specify the entire record type if all fields are desired.
Hello Gabby, this resolved the issue. Thanks a lot!
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!