Unable to deploy action layout changes (managed action) using sfdx/ant
Last updated 2021-05-26 ·Reference W-8870828 ·Reported By 3 users
According to this doc mentioned below, we should be able to change actions from a managed package as long as it's the action layout.
We are able to change the layout from the org. However the same is not possible using sfdx/ant or workbench.
Error : Cannot modify managed object: entity=QuickActionDefinition, component=*****, field=MasterLabel, state=installed: newValue='null', oldValue='New Task'
a. Create a custom quick action and add at least couple of simple non-required fields to the layout.
b. Add the object and action to a managed package.
c. Install the package into a new org.
d. In the subscriber org, try to open the action and remove one of the fields from the layout. This should work.
e. Use workbench to retrieve the quick action metadata.
f. Remove the other field from the layout (metadata)
g. Use ant or sfdx to deploy the layout and see the error.
Modify the component using UI
Is it Fixed?
Any unreleased services, features, statuses, or dates referenced in this or other public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make their purchase decisions based upon features that are currently available.