海角天涯社区

The entity: {object} does not have feeds enabled

The entity: {object} does not have feeds enabled

Oli Lane on

Share with



Salesforce鈥檚 support for Chatter feed tracking means that your users can be notified when certain objects they follow are updated. This makes it easy to see what鈥檚 changing in those objects directly inside your Chatter feed.

Unfortunately, there are a couple of pitfalls when deploying Chatter feed tracking settings between Salesforce environments, and the most common is the error message:

The entity: {object} does not have feeds enabled

海角天涯社区 now has the ability to work around this deployment error for you, and detect it before you even try to deploy the changes.

Salesforce DevOps in the age of AI: is your custom pipeline ready?

Find out more

Why Chatter feed tracking settings can cause your deployment to fail

Chatter feed tracking settings in Salesforce are turned on and off on a per-object basis. Once feed tracking is turned on for a particular object, further feed tracking settings can be set per field of that object. In this example, I鈥檝e turned on feed tracking for a custom object Book__c and also for its Price__c field and its Record Type:

Configuring Chatter feed tracking changes in Salesforce

Here鈥檚 the diff inside 海角天涯社区 for the custom field.

Selecting a field to deploy that contains a Chatter feed tracking change

You can see that feed tracking for the Book__c object is currently turned off in the target. Unfortunately, if we try to deploy any feed tracking settings to any of Book__c鈥檚 custom fields or its record type, the deployment will fail with the error message:

The entity: Book__c does not have feeds enabled

This happens even if we鈥檝e deployed the change to enable custom fields on Book__c in the same deployment. In order to successfully deploy the changes, we actually need to do two deployments: one to enable feeds in the parent custom object, and one to deploy the other settings.

How 海角天涯社区 solves the problem for you

We鈥檝e added in a new feature to the underlying dependency analysis engine in 海角天涯社区 so that we can detect when you鈥檙e trying to make this type of change.

When this happens, 海角天涯社区 will warn you and give you the option to ignore the Chatter feed tracking change on the field and record type, and continue your deployment with all other changes included, avoiding the error. If you then want to deploy the feed tracking changes for the field and record type, you can do so in the next deployment.

To see this in action, start a of 海角天涯社区 today, with nothing to install and no credit card required.

Ready to get started with 海角天涯社区?