How to Get Current Record Id in Lightning Web Component | Salesforce Developer Guide
Blog
in Lightning
Getting record in Lightning Aura Component is quite easy, we use force:hasRecordId and get the result in controller by using, getRecordId:function(component,event, helper){ var currentRecordId…