1

I have a custom visual force page for the Contact object. On the contact object's 'Buttons, Links, and Actions' I can create an action that logs a call. Is there a way to add that action to the custom visual force page?

It seems like the Case object has a method that works but I can't seem to find a way for Contact.

<apex:page standardController="Case" showHeader="true">
            <apex:logCallPublisher id="myLogCalllPublisher" 
                entityId="{!case.id}"          
                title="Log a Call"
                width="500px"
                autoCollapseBody="false"
            />  
        </apex:page>
1

You can use Chatter component for Visualforce page. It has ability to show publisher actions. Below are some referencese from Salesforce documentation :

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.