How To Get Record Id From Url In Salesforce Lightning, We need to create a formula to store dynamically generated URL to the contact record.