codeLive: How To Synchronize Component Data in LWC Using the RefreshView API

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

КОМЕНТАРІ • 9

  • @daeschwed8378
    @daeschwed8378 Рік тому +1

    I really like these live coding sessions.
    A very pleasant and informative experience. Thank you for your ongoing efforts, keep up the great work.

  • @RaviShankar1947
    @RaviShankar1947 Рік тому

    But this will not work if component and salesforce default UI is not on the same page.

  • @davidrabinak4011
    @davidrabinak4011 Рік тому

    Hi, great content!
    Please, I tried the following scenario. I am on Opportunity record page where I have couple of standard related lists, dynamic related lists and 1 custom lwc component that has a refreshHandler registered.
    Edit Opportunity Record => custom component refreshHandler gets called
    Edit Record in a Standard Related List => custom component refreshHandler does not get called
    Please, is there a way (without a "hack" like firing platform event on backend) how could a custom lwc placed on record page respond to a change on a record in a standard related list?

    • @msrivastav13
      @msrivastav13 Рік тому

      Can you share a sample repo in git with the issue? Happy to see whats wrong and I will reach out to Product manager to see why it is not working if I cannot..

  • @Niket93
    @Niket93 Рік тому

    Hello Mohith sir,
    This is not working when we have a custom list of Records , it is not refreshing.Please check with Leo Balter & Greg Whitworth.

    • @msrivastav13
      @msrivastav13 Рік тому +1

      If you have your own custom component, you should register the refresh event and then call refresh apex! Hope that helps

  • @ezpz4akash
    @ezpz4akash Рік тому +1

    +1

  • @starman9000
    @starman9000 Рік тому

    Try to reduce the total duration to maximum 30 mins please!

    • @msrivastav13
      @msrivastav13 Рік тому

      Thank you for feedback! Note this is a live session and our intent is to not summarize and present the content instead spend time coding the requirements live show casing how to approach the problem from design to solution.