2 answers
Hi Baz,Greetings to you!You need to use force:navigateToSObject, this event enables you to navigate to an sObject record specified by recordId.Please refer to the below links which might help you further with the above requirement.https://andyinthecloud.com/2017/05/30/overriding-standard-actions-with-lightning-components/https://trailhead.salesforce.com/en/content/learn/projects/workshop-override-standard-action/override_4Please note, Salesforce recommends using lightning:navigation component with the standard__recordPage page type instead of force:navigateToSObject.I hope it helps you.Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in the future. It will help to keep this community clean. Thanks and Regards,
Khan Anas