0

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.

/lightning/o/Opportunity_Proposal_Request__c/new?
count=1
&nooverride=1
&useRecordTypeCheck=1
&defaultFieldValues=
Account__c={!Account.Id},
Name={!"Proposal Request: "+TEXT(Today())+" "+URLENCODE(Account.Name)}
1
  • Did you also try to encode / in backgroundContext as %2F?
    – kurunve
    Jan 14 at 8:57

0

Your Answer

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.