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

แชร์
ฝัง
  • เผยแพร่เมื่อ 24 ม.ค. 2025

ความคิดเห็น • 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.

  • @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

  • @RaviShankar1947
    @RaviShankar1947 ปีที่แล้ว

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

  • @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.