Skip to main content

Resolving validation errors "In field: excludeButtons, no such standard action:CreateSalesSummaries"

This error may surface in any object that references a CreateSales button object

Written by Martin Grill Poblete

Error overview:

This is a validation error that is caused by the CreateSalesSummaries button being deprecated by Salesforce.

The CreateSalesSummary button was retired in the Spring ’25 release since Salesforce removed this feature. The error surfaces because a reference to this deprecated button still exists in one of the items being deployed

This Salesforce validation error is highly likely to be surfacing in the Layout metadata types with the specific error returned being:

In field: excludeButtons, no such standard action:CreateSalesSummaries

Note: It is possible for similar errors related to CreateSalesSummaries to be surfaced in other metadata types with different validation errors returned, in those cases the cause for the validation error is still most likely that the object is referencing CreateSalesSummaries somewhere.

Example of the error in Gearset:

Resolution:

To resolve this issue the reference to CreateSalesSummaries needs to be removed from the deployment.

Follow these steps to remove the reference:

  1. Retrieve the affected page layout metadata from your org.

  2. In the layout XML file, locate and remove the following line: <excludeButtons>CreateSalesSummaries</excludeButtons>

  3. Deploy the updated metadata back to the org using Gearset.

After this deployment is completed, the error should no longer surface.

This can be done in a couple of different ways, the simplest way in Gearset would be following the article on how to change the deployment package to remove the reference to CreateSalesSummaries from the Layout object. After that is done you can do a C&D with your source being the edited deployment package and the target being the org you want to update with this removed reference.



Did this answer your question?