Refresh Detail Page Fields from Custom Quick Action

If you want to update information displayed on the detail page or the feed view on an object after updating the record from a custom quick action visualforce page, then you can you the below snippet which uses the Canvas / Publisher API.

//Publisher JS Library
<apex:includeScript value="/canvas/sdk/js/publisher.js" />

//Action Function
<apex:actionFunction name="executeUpdate" action="{!updateCaseClassification}" oncomplete="refreshFeed();">

function refreshFeed() 
{
    Sfdc.canvas.publisher.publish(
    { 
        name : 'publisher.refresh', 
        payload : { 
            feed: true, 
            objectFields: true
        }
    });
}

Salesforce Web-to-lead reCAPTCHA Key – Insufficient Privileges

If you receive an “Insufficient Privileges” message when trying to add a new reCAPTCHA Key Entry on the Web-to-lead OR Web-to-case generator page within Salesforce you can use the below steps to fix this:

To Enable, please follow below steps:

1. Click Setup
2. Click Customize
3. Click User Interface
4. Enable Show Quick Create
5. Click Save

After this, go back and add the new reCAPTCHA API Key Pair:

1. Click Setup
2. Click Customize
3. Click Leads | Select “Web-to-Lead”
2. Click Create Web-to-Lead form
3. Enable Spam Filtering
4. Click reCAPTCHA API Key Pair Lookup button
5. Click New | fill out Required fields
6. Click Save