Skip to main content
April 22, 2024
Question

Record Chat Relations Not Working

  • April 22, 2024
  • 10 replies
  • 0 views

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. 

    10 replies

    shubhama926776
    April 22, 2024

     [mention:5de21e12b051416491e52689b6529572:e9ed411860ed4f2ba0265705b8793d05] 

    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.

    April 22, 2024

    Thanks for your response Subham. I have followed the same example from the documentation, but that did not work.

    shubhama926776
    April 22, 2024

    If possible can you share your code snippet for better understanding. Also make sure data should present for that relationship in record.

    embeddedh9033
    April 22, 2024

    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

    embeddedh9033
    April 22, 2024

    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

    gabby.rothschild
    April 23, 2024

    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. 

    April 23, 2024

    Hello Gabby, this resolved the issue. Thanks a lot!