Salesforce Apex

Salesforce

How to close the quick action popup and refresh the page from custom Salesforce Lightning Component?

Use the below methods to close the quick action popup and refresh the page from custom Salesforce Lightning Component. $A.get("e.force:closeQuickAction").fire();$A.get('e.force:refreshView').fire();  Sample code: Lightning Aura Component: Component: <aura:component implements="force:hasRecordId,force:lightningQuickActionWithoutHeader" controller="Sample" >     ....