I have a custom LWC where I display the details of a record. When I click Edit Owner, Salesforce opens the standard Change Owner
popup, as shown in the attached screenshot.
I have now created a custom page/LWC with a
Change Owner button. I would like this button to open the same standard Salesforce Change Owner popup directly.Is there a supported way to invoke the standard Change Owner dialog from a custom LWC button?
I am looking for a solution that opens the standard Salesforce popup rather than creating a custom Change Owner modal myself.
Screenshot:
The attached screenshot shows the standard Change Owner popup that I want to open from my custom button.
If this is possible, could someone please provide an example using LWC/Apex/navigation, or explain the supported approach?
#Salesforce Developer
Write an answer...
0/9000