Salesforce Asked on December 19, 2021
In the metadata file for layouts, you’ll see that standard buttons are only specified for those that shouldn’t display: through a <excludeButtons>
field. The description states:
List of standard buttons to exclude from this layout. For example, Delete excludes the Delete button from this layout.
I figured it would be easy to find these references since you could look through a given object’s buttons/actions and see what’s "standard" and understand what it’s doing/related to. However, there’s one showing up in my diffs that I can’t seem to find any reference to.
RequestUseSfdc
is being excluded on Contact layouts in production, but not in sandboxes. It seems even if I deploy it without the exclusions into productions, they still stay there.
I found one question from 2010 that references it, but provided no answer to specify what it is.
I’ve done a couple things:
The only hunch I have is that it’s related to DataDotCom. We don’t use it, but it’s possible we used it once or it’s "on" because of prior usage.
It was the Check for New Data standard button on layouts that hadn't been fully updated from Classic. What threw me off was that there's two different buttons in the XML even though only one button appears in the layout editor.
It seems there were some layouts where the predefined actions were not overridden in Lightning and you can see that standard button is included in the Classic standard buttons.
Confirmed by removing that standard button and seeing the following removed from the XML
<excludeButtons>DataDotComClean</excludeButtons>
<excludeButtons>RequestUseSfdc</excludeButtons>
Answered by Kris Goncalves on December 19, 2021
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP