function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
karthik gorantlakarthik gorantla 

Refresh custom object's related list in Lightning from custom lightning component on click of popup save(communities))

Hello Every one,
I am trying to refresh the custom object related list, this has to happen on clcik of popup save which is in custom lightning component placed above the related list in lightning builder, please help.

Note: I have tried using $A.get('e.force:refreshView').fire();  in side SUCCESS state in custom lightning component still not working..
ShirishaShirisha (Salesforce Developers) 
Hi Karthik,

Greetings!

Seems like you have already tried by using the refreshView which should work as per your requirement.However,can you please check the below document for the sample code to test with to narrow down your code:

https://developer.salesforce.com/forums/?id=9060G0000005Vm7QAE

Kindly let me know if it helps you and close your query by marking it as best answer so that it can help others in the future.

Warm Regards,
Shirisha Pathuri
karthik gorantlakarthik gorantla
Hi Shirisha,
Thanks for the reply,  i am taking about custom object's standard related list which dragged into community builder without writing code, we can achive this if you can go with page refresh but in my use case page should not refresh, looks like this is a bug from salesforce.
please see below URL:  https://success.salesforce.com/issues_view?id=a1p3A0000008ggFQAQ

thank you..