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
AbhynavAbhynav 

" e.force:refreshView " is not working in salesforce 1 app for Lightning component.

Hi all,

I am facing an issue regarding working of " e.force:refreshView " in salesforce1 app. Though I have read in lightning docs it is available in Lightning Experience and salesforce one but still I am unable to get my lightning component refreshed in salesforce 1 app. On the other hand, if I am trying to refresh my component from lightning experience its working (so this is an ambiguous situation as I am getting two different results after pressing the same button in Lightning Experience and Salesforce 1 app).

Thanks
-Abhynav
Akhil AnilAkhil Anil
Hi Abhynav,
 
Salesforce1 app is slower as compared to Lightning experience. Many a times, the issue might be due to a weak network connectivity in the device you are using the Salesforce1 application. Try using a faster network for the device and see if it works. If it still doesn't, then you should log a case with Salesforce support !