Taking these in turn.
- A hyperlink from Obsidian to Salesforce. Each record in Salesforce has a unique ID and through that, a unique URL. For example, a link to an account might look like:
https://XXX.lightning.force.com/lightning/r/Account/YYYYYYYYYYYYYYY/view
or just
https://XXX.lightning.force.com/YYYYYYYYYYYYYYYY
where XXX is your own organisation’s domain and YYYYYYYYYYYYY is the unique ID for that record.
You could then link to that from Obsidian using normal external markdown links.
- Unless you’re a Salesforce admin you won’t be able to set up a new formula field, but if you did you’d have something like this in the formula:
“obsidian://open-note?vault=your-vault-name&filename=” + id
This would assume you’ve created a note in Obsidian using the record’s ID as the filename.
Alternatively, you could create a rich text note with the link on each record to the vault.
However, if you’re creating data in Salesforce you really need to talk to your system admin as, unless this was a business use, they may not permit you to add any links using either method.