I have an application external to Salesforce where I want to embed a link with a URL parameter with the Customer ID, that will redirect to the Salesforce account page in a new window.

Something like this: https://ID.lightning.force.com/lightning/r/Account/?={AccountID}

This seems like a really simple ask, but I have not been able to find anything related to creating links/URLs from OUTSIDE of Salesforce.

  • Is AccountId the 15- or 18-character Salesforce ID, or some other account ID? That would make a difference on how you'd want to go about your solution.
    – sfdcfox
    Jul 24, 2019 at 16:28
  • Not the Salesforce ID. In our case, the field is "Customer Number", which is unique to each customer. Jul 24, 2019 at 17:15


You must log in to answer this question.

Browse other questions tagged .