I have a custom button on the Account record that adds a new related record. It works great but after the new record is created I need to return to the Account record. I am working in Lightning.

I have tried adding &backgroundContext=/lightning/r/Account/{!Account.Id}/view but that doesn't work.

Name={!"Proposal Request: "+TEXT(Today())+" "+URLENCODE(Account.Name)}
New contributor
Robin T is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
  • Did you also try to encode / in backgroundContext as %2F?
    – kurunve
    Jan 14 at 8:57

Your Answer

Robin T is a new contributor. Be nice, and check out our Code of Conduct.

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.