[SalesForce] Refresh Standard Related List from LWC

Is there possibility to refresh the standard related list from LWC, as we can do it using $A.get('e.force:refreshView').fire() in aura?

Any alternative to "$A.get('e.force:refreshView').fire() " in LWC

Best Answer

I have used getRecordNotifyChange() function to refresh the required list of records, for more info please follow the below:

https://blog.texei.com/refresh-a-record-page-from-a-lightning-web-component-14a5874ff68e

you can also trick it with

eval("$A.get('e.force:refreshView').fire();");
Related Topic