Lightning Data Service Explained with demo | LDS in LWC | LWC Tutorial

Поділитися
Вставка
  • Опубліковано 19 вер 2024

КОМЕНТАРІ • 6

  • @Sai-Krishna786
    @Sai-Krishna786 2 місяці тому +1

    Useful ✓✓✓

  • @backseatengineer
    @backseatengineer 2 місяці тому

    Can we pass list of record ide?

    • @SalesforceHulk
      @SalesforceHulk  2 місяці тому

      Yes, We can do it, We can pass the list of records in the wire method, but provided we need to make changes in the apex accordingly, and we need to have the recodids property with Ids, as from the record page we can only get one record id into the recorded property.

  • @venukumar1
    @venukumar1 2 місяці тому

    Without refreshing the record how it is updating the values in a compact layout.
    Pls explain this auto refreshing method.

    • @SalesforceHulk
      @SalesforceHulk  2 місяці тому

      The reason is that record form works on LDS(Lightning Data Service), So, whenever the any changes occurs in the data through record form that update the local cache. this local cache is used by all the standard components on the record page. This is why when the local cache get updated it reflects in all the standard components on the page.