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
Surender reddy SalukutiSurender reddy Salukuti 

how can we call component after navigating to record detail page ?

Hi all ,
I have a one requirement i am converting account to lead by using quick action component after convertion navigating to record page   this requiremnet i have completed but after navigating to record page i need to call custom quick action component and open popup how can i do this ,
please find the below code for your reference .

handleClick : function(component, event, helper) {
       component.set('v.showProgressbar', true); 
        var recordid = component.get("v.recordId");
         var action = component.get("c.convertlead"); 
            recordId : component.get("v.recordId")
        action.setCallback(this, function(a) {
            if (a.getState() === "SUCCESS") {
                var output = a.getReturnValue();
                component.set('v.showProgressbar', false);
                var navEvt = $A.get("e.force:navigateToSObject");
                    "recordId": component.get("v.accountid")
            else if(a.getState() == "ERROR"){
                 var errorMsg = a.getError()[0].pageErrors[0].message;
                var toastEvent = $A.get("e.force:showToast");
                    "type" : "error",
                    "message": errorMsg