Refresh View API in LWC: Refresh Standard Components View from Custom LWC Salesforce ⚡️
HTML-код
- Опубликовано: 11 сен 2024
- In this video you will learn how to use RefreshView API in Lightning Web Components. In this video I will use a custom LWC to refresh something on the Standard Account Page components and refresh the view of it using RefreshView API without refreshing the whole page.
#CDC #LWC #salesforce
Join me on Instagram : / iamkapilbatra
My journey : www.salesforce...
Blog : www.salesforce...
Website : www.salesforce...
LinkedIn : / salesforcebolt
Twitter : / salesforcebolt
Facebook : / iamsalesforcebolt
Best explanation, as always! 🙏🏼
Thanks Rohan 😊
Great video! Is it possible to refresh only one standard component? In my usecase I need refresh the standard chatter component on a record page when there is new message.
Nice scenario but unfortunately it’s not possible to refresh a particular standard component.
Hi Sir, Why does RefreshEvent not work when dispatched from lwc component inside Lightning quick Action.
Great explanation!
How we can update any lwc with immediately inserted record using stand layout ? Can you suggest some solution
Thanks, can you please elaborate complete requirement ?
In my case object I have a lwc which read only the Task data which is associated with this particular case record.whenever I create a task record by the help of the standard button I want it will refresh the lwc automation. without manual refresh
@@parthasarathinayak2507 so in this case you are trying to refresh your custom component whenever the standard component is creating a record. To do the same you need to send some kind of notification to your custom component so that it can refresh itself. Webhooks could be a solution for that. Or you can also use Platform Event to trigger the notification and let your custom LWC subscribe to it!
What if i want reverse that if record updated in standard component then i want to refresh lwc
Just posted a video on it
ruclips.net/video/TC1q787SPOc/видео.htmlsi=4Qqg5j0iqkc9jtme
Great explanation!
But is it possible to reload a related list when a related record is created from quick action?
I used Refresh view API in my lwc that creates a related record and invoked by quick action on a record page, but the related list was not updated.
I am really stuck here... notifyRecordUpdateAvailable didn't work either.
Hi there, well it's a new functionality and might be having few limitations. I will try to find a workaround!
@@SalesforceBoltThanks a lot!🙏 I have been checking if everything is going as reference says, but I still don't know the problem. So that might be a limitation...
How we can update any datatable with immediately inserted record using button on same lwc card in which datatable is present? Can you suggest some solution
You need to refresh the result after buttons click
hi bhaiya i need your help i have placed a child component inside parent component twice and getting different-different data on the basis of filter so whenever i update one child component using inline editing update data should be display without refreshing page (on both child components like add row at one component and delete row at another component ) so please let me know if you have any solution
Hi Nitin, I think you are having your wire inside your child components. Get the data in the parent component and pass it to the child component could be a solution of doing it.
@@SalesforceBolt ok I’ll try 👍
Is it possible to do refresh view from quick action?
Yes it should be doable.
@@SalesforceBolt How to do it?
Kapil bhai itni thand 😅
🤣
*Promosm* 🤦