Salesforce announced to create custom buttons and links that pass default field values to a new record beginning from Spring'20 release.
To construct a custom button or link that launches a new record with prepopulated field values, use this sample formula:
To construct a custom button or link that launches a new record with prepopulated field values, use this sample formula:
- /lightning/o/Account/new?defaultFieldValues=
- Name={!URLENCODE(Account.Name)},
- OwnerId={!Account.OwnerId},
- AccountNumber={!Account.AccountNumber},
- NumberOfEmployees=35000,
- CustomCheckbox__c={!IF(Account.SomeCheckbox__c, true, false)}
Note:
The URLENCODE function works only when creating custom buttons and links. You can’t use it for custom fields.
Reference:
Spring 20 Release Notes 1
Spring 20 Release Notes 2
The URLENCODE function works only when creating custom buttons and links. You can’t use it for custom fields.
Reference:
Spring 20 Release Notes 1
Spring 20 Release Notes 2
Nice Informative Post.
ReplyDeleteAlso you can clone multiple flows in Salesforce. https://bofc.io/process-builder-flow-operations/how-to-clone-flows-in-bulk-in-salesforce-in-few-clicks