- Classic
- Case Page Layouts includes a Feed-Based Layout; running user has this layout assigned
- Feed-based layout includes several
Quick Actions in the Salesforce Classic Publisher
:New Task
,New Event
,New Child Case
,Email
(the object-basedCase.Email
action), 'Custom1' - Case Feed tracking enabled;
Email Deliverability = All
View button is overridden with this VF page:
<apex:page id="CaseView" standardController="Case" showHeader="true" sideBar="false"><apex:detail inlineEdit="true" relatedList="true" subject="{!Case.Id}" showChatter="true"/></apex:page>
When the page is displayed, the Show/Hide feed button appears and all of the Quick Actions appear except the Email
action. If I remove the View button override to the VF page, all the Quick Actions display, including the Email action.
Things I tried:
Added <support:caseFeed>
tag - no effect; no caseFeed even appears on page
<apex:page id="CaseView" standardController="Case" showHeader="true" sideBar="false"> <apex:detail inlineEdit="true" relatedList="true" subject="{!Case.Id}" showChatter="false"><support:caseFeed id="myCaseFeed" caseId="{!Case.id}"/></apex:detail></apex:page>
Re-enabled showChatter="true"
- result, case feed appears without email publisher
<apex:page id="CaseView" standardController="Case" showHeader="true" sideBar="false"> <apex:detail inlineEdit="true" relatedList="true" subject="{!Case.Id}" showChatter="true"><support:caseFeed id="myCaseFeed" caseId="{!Case.id}"/></apex:detail>
Added <apex:emailPublisher>
Reference - still no email publisher
<apex:page id="CaseView" standardController="Case" showHeader="true" sideBar="false"> <apex:detail inlineEdit="true" relatedList="true" subject="{!Case.Id}" showChatter="true"><apex:emailPublisher id="myEmailPublisher" entityId="{!case.id}" width="600px" title="Send an Email" expandableHeader="false" autoCollapseBody="false" showAdditionalFields="false" fromVisibility="selectable" toVisibility="editable" bccVisibility="hidden" ccVisibility="hidden" emailBody="" subject="" toAddresses="" onSubmitFailure="alert('failed');" fromAddresses="person1@mycompany.com,person2@mycompany.com"/></apex:detail></apex:page>
Why do I care to do this? (stave off the x-y problem question)
- For application reasons, I had to override the standard Case edit page with VF
- When you do this, you lose inline edit on the standard detail page
- So, I decided to override the View button with a trivial
apex:detail
page withinlineEdit="true"
- And I need the Email Publisher to appear - especially as the Detail page is used in Service Console and Macros won't run without the Email Publisher