Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
Packaging Action Overrides
When you package a custom object, overrides on that object’s standard actions are packaged with it. This includes any Lightning components used by the overrides. Your experience should be “it just works.”
However, standard objects can’t be packaged. As a consequence, there’s no way to package overrides on the object’s standard actions.
To override standard actions on standard objects in a package, do the following:
- Manually package any Lightning components that are used by the overrides.
- Provide instructions for subscribing orgs to manually override the relevant standard actions on the affected standard objects.