Packaging Action Overrides

Action overrides for custom objects are automatically packaged with the custom object. Action overrides for standard objects can’t be packaged.

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.