Cannot Deploy Email QuickAction to Page Layout when Email Access is set to "System Emails Only" or "No Access"
Last updated 2018-05-17 ·Reference W-3034076 ·Reported By 5 users
Summary
Customer has a Quick Action created to send email on Cases in his Org. He has added this QuickAction to the Page Layout as well.
When the customer is deploying this Page Layout to the Org and the "Deliverability" is set to "No Access", he is getting this error message :
All Component Failures:
layouts/Case-Case Layout.layout -- Error: In field: QuickAction - no QuickAction named Case.Email found
When the Page Layout is retrieved, the QuickAction is mentioned in the Layout file as mentioned below :
<quickActionListItems>
<quickActionName>Case.Email</quickActionName>
</quickActionListItems>
Repro
- Create a Custom Email Action on any object, extract the Action and Page Layout via ANT or Deployment tool into the prepared zip file for deployment
- Go to Setup > Email Administration > Deliverability
- Check that the "Access Level" is set to "No Access". [if not, then set it to "No Access" and save the changes]
- Try deploying this metadata to the Org using ANT or Workbench.
- You will see this error message :
All Component Failures:
1. layouts/Case-Case Layout.layout -- Error: In field: QuickAction - no QuickAction named Case.Email found
Workaround
The error message is to be correctly mentioned that the reason for deployment failure is the Deliverability setting in Email Administration.
User should be indicated that the quick action element causes problem in deployments and should be prompted to remove with a message when the Deliverability setting is set to 'NoAccess'.
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.