Retrieve Related List Data in LWC -- getRelatedListRecords in LWC

แชร์
ฝัง
  • เผยแพร่เมื่อ 8 ก.ย. 2024
  • "Retrieve Related List Data in LWC" is a descriptive title for the getRelatedListRecords method in LWC. This method allows developers to retrieve records from a related list in Salesforce and display them in a Lightning web component. By passing in parameters like the object API name and the relationship field API name, this method can dynamically fetch the correct data to display. This can be useful for displaying child records related to a parent record, such as a list of related opportunities for an account. The getRelatedListRecords method can help improve the user experience by reducing the number of clicks needed to view related data, and by allowing for a more customized view of the data.
    #lwc #adapter

ความคิดเห็น • 13

  • @chithraprakash8392
    @chithraprakash8392 ปีที่แล้ว +1

    Thank you for sharing this great video

  • @chithraprakash8392
    @chithraprakash8392 ปีที่แล้ว

    Very helpful

  • @mini.bharadwaj987
    @mini.bharadwaj987 4 หลายเดือนก่อน +1

    Will this work for junction object?

  • @ariesmangubat8878
    @ariesmangubat8878 ปีที่แล้ว +1

    is this possible in custom objects? I have followed your tutorial and I can' fetch the related records in between two custom objects

    • @technogeeksfdc6731
      @technogeeksfdc6731  ปีที่แล้ว

      Yes it's possible. Can you share the code on alokkumarmishra22@gmail.com?

  • @dasaradharam7100
    @dasaradharam7100 ปีที่แล้ว

    How to dynamically fetch another level of related list like in this case I need to show each contact related list and therefore...

  • @rammohanreddykasu9667
    @rammohanreddykasu9667 10 หลายเดือนก่อน

    Hello Sir, How to pass a dynamic value in the where clause? I have a value in @api variable and its not taking in where clause of getRelatedListRecords. Can you please let me know?

  • @pratikhingade1784
    @pratikhingade1784 11 หลายเดือนก่อน

    i try it in community site but it not show my record name, it's show me [object object]

    • @technogeeksfdc6731
      @technogeeksfdc6731  11 หลายเดือนก่อน

      Can you share the code at alokkumarmishra22@gmail.com

    • @rockstar3665
      @rockstar3665 11 หลายเดือนก่อน

      Graph QL doesn't work in Community site. This is a limitation

  • @JonathanStivenPachonAriza
    @JonathanStivenPachonAriza ปีที่แล้ว

    Very helpful but I have doubt
    How can I pass variables to the where clause?