New answers tagged

0

As @BrianMiller stated, $A.get('e.force:refreshView') only updates the standard components on the current lightning page. But that's because those components are listening for the event. I was able to get my custom Aura component to refresh when the event is fired by listening for it: <aura:handler event="force:refreshView" action="{!c.doInit}" /> ...


1

Component <lightning:workspaceAPI aura:id="workspace"/> Controller handleSuccess : function(component, event, helper) { var workspaceAPI = component.find("workspace"); var toastEvent = $A.get("e.force:showToast"); toastEvent.setParams({"title": "Success!","message": "The property's info has been updated.","type": "success"}); ...


Top 50 recent answers are included