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

Поделиться
HTML-код
  • Опубликовано: 29 ноя 2024

Комментарии • 6

  • @Sai-Krishna786
    @Sai-Krishna786 4 месяца назад +1

    Useful ✓✓✓

  • @backseatengineer
    @backseatengineer 4 месяца назад

    Can we pass list of record ide?

    • @SalesforceHulk
      @SalesforceHulk  4 месяца назад

      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 4 месяца назад

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

    • @SalesforceHulk
      @SalesforceHulk  4 месяца назад

      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.