LWC RefreshView API - Update standard view from custom component without Page Refresh

Поделиться
HTML-код
  • Опубликовано: 27 окт 2024
  • ✨ lightning/refresh module! ✨
    To leverage the power of the RefreshView API, simply import the lightning/refresh module into your LWC code. This module not only replaces force:refreshView for Aura components but also offers additional capabilities.
    With the lightning/refresh module, you gain access to:
    🔄 The RefreshEvent event: Now, your module can fire this event to indicate the need for a refresh. It's a handy way to trigger updates in your LWCs dynamically.
    🔧 Methods for registration: Components can register to receive the dispatched refresh event and kickstart the refresh process. This allows for seamless communication and synchronization between different parts of your Salesforce org.
    💡 Callback methods: You can register callback methods that are invoked during the refresh process. This enables you to perform specific actions or execute custom logic when the refresh event occurs.
    CODE Available on - www.udemy.com/...
    #lwc #summer23 #salesforce

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

  • @sn14110
    @sn14110 20 дней назад

    Thank you

  • @sandippaswan509
    @sandippaswan509 3 месяца назад

    Pls can u help me...How to refresh the data table when record is created... record creating component not available in lwc

  • @payelghosh6047
    @payelghosh6047 6 месяцев назад

    LWS is enabled in my org. Still the related list is not getting refreshed automatically after clicking the LWC submit button. Will it only work for standard related list and not for custom ones?

  • @ZNASH05
    @ZNASH05 Год назад

    Very nicely explained thanks

  • @animatedvinesofmk2774
    @animatedvinesofmk2774 Год назад

    Amazing could you please make a one project on heavy Integration which will cover everything which includes named credentials and client id . Please make one project on that

  • @ravali7099
    @ravali7099 6 месяцев назад

    It is not working with quick action, I have used imperative apex to update the record, once I got the success result, I have dispatched refresh event however it is not refreshing the related list data.

    • @purnaunnagiri
      @purnaunnagiri 6 месяцев назад

      Even in IOS Ipad not working

  • @jeraldsayson
    @jeraldsayson Год назад

    Does this works on a Custom Objects?

  • @purnaunnagiri
    @purnaunnagiri 6 месяцев назад

    Will it work on IOS Ipad?

  • @isdamful
    @isdamful Год назад

    Hey nikhil please do make a video on aura refresh view event, keep the great work up

  • @sairamakanthlingaparthi4095
    @sairamakanthlingaparthi4095 Год назад

    Amazing thanks for ur efforts

  • @udayakumar5588
    @udayakumar5588 Год назад

    Hi Nikhil
    Can you make an integration course on Udemy for beginners? How you did for LWC? That will be helpful. We don't have proper integration course on Udemy.