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
Rama_SFDCRama_SFDC 

Lightning RefreshView event not working on record detail page

Hi ,
I have roll up summary field on Account object , based on roll up field value i'm showing the some images on lightining detials  page . i have implemented one lightning component and working fine but when roll up field value has been changed old image only displaying , when i refresh manually it is working fine , how to refresh the component ?
Raj VakatiRaj Vakati
Lightning refreshview will not refresh on roll up summary fields ..  You create tigger that will check for the roll up summary field  value changes and update the some other fields .. 

​based on it you can refresh the view 
 
Harshal Gosavi 45Harshal Gosavi 45
Hello Ramakrishna,
           Rather than RefreshView, you can use reloadRecord() function. You can use this function like
component.find('xyz').reloadRecord();  Where xyz is your aura:id.
If this is helpful for you, let me know.

Thank You.
Harshal Gosavi
Aiprous Technologies Pvt.Ltd.