Skip to main content

So I have this component called reusableRelatedList that I'm trying to create, which is supposed to resemble the standard Related List component. The code for the custom component is indicated through this link: https://www.infallibletechie.com/2020/04/reusable-related-list-using-lwc-in.html

 

As indicated by the attached file, the component (shown in the middle) is showing nothing. I even tried to add a JO Candidate with the specified condition. The Related Lists is supposed to show the related JO Candidates on the Candidate Record page and the condition is that the Test Value field in JO Candidate should equal 1.

 

#Related Record Lightning Component

3 个回答
  1. 2024年4月9日 00:52

    You'll want to focus on categories related to Apex, Lightning Framework, and Database operations. Here are the categories you should consider enabling:

     

    1. Apex Code:
      • This category logs information related to the execution of Apex code, including methods called from Lightning Web Components, triggers, and other Apex classes involved in the functionality.
    2. Apex Profiling:
      • Enabling this category will provide additional details about the performance of Apex code, including execution time for methods and SOQL queries.
    3. System:
      • This category logs general system-level information, including governor limits, platform events, and other system-level operations that might be relevant to your Lightning Web Component.
    4. Database:
      • Enable this category to log information about database operations such as SOQL queries, DML statements (insert, update, delete), and any errors that occur during database transactions. This is particularly useful for debugging issues related to data retrieval or manipulation within your Lightning Web Component.
    5. Lightning Framework:
      • This category logs information related to the Lightning Component Framework, including client-side rendering, event handling, and interactions between your Lightning Web Component and other components on the page.
    6. Validation:
      • Enable this category if you want to log information related to validation rules, flows, and other validation processes that might impact the behavior of your Lightning Web Component.
0/9000