e.force:refreshView not refreshing component view

Pearl Rae asked on June 16, 2021 13:09

I am using e.force:refreshView in order to refresh a custom component and it does not seem to be working. I am firing it when a flow finishes (that categorizes uploaded files) but the component does not refresh at all. Here is some of the relevent code

controller

handleFlowFinish: function(component, event, helper) { helper.fireRefresh(component, event, helper);

console.log("It Fired!")

} Helper

fireRefresh : function (component, event, helper) { $A.get('e.force:refreshView').fire(); console.log("Triggered Sucessfully")

} I originally had it in the Controller but thought it might make sense to fire it from the helper. Either way it does not refresh the component. Both Console.logs log through so the functions themselves are being fired

I can include more code if necessary but with th fact the both above functions trigger without issue it doesn't seem like it would add anything.

   Please, sign in to be able to submit a new answer.