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
Elanie CathennaElanie Cathenna 

I want to close a window that was opened from a lightning record page, can anybody suggest me what I will do for this?

Best Answer chosen by Elanie Cathenna
Suraj Tripathi 47Suraj Tripathi 47
Hi Elanie Cathenna,

Use this Code:

var <variableName> = $A.get("e.force:closeQuickAction");
<variableName>.fire();
​​​​​​​
and Just Go to redirect to parent using parent's saved Id and it will work.

If you find your Solution then mark this as the best answer.  

  Thank you!
​​​​​​​
  Regards 
 Suraj Tripathi   

All Answers

Suraj Tripathi 47Suraj Tripathi 47
Hi Elanie Cathenna,

Use this Code:

var <variableName> = $A.get("e.force:closeQuickAction");
<variableName>.fire();
​​​​​​​
and Just Go to redirect to parent using parent's saved Id and it will work.

If you find your Solution then mark this as the best answer.  

  Thank you!
​​​​​​​
  Regards 
 Suraj Tripathi   
This was selected as the best answer
Elanie CathennaElanie Cathenna
thanks for support