Document Library Command Bar - Classify and Extract and Automate - unable to hide #9992
Open
2 of 9 tasks
Labels
Needs: Triage 🔍
Awaiting categorization and initial review.
type:bug-suspected
Suspected bug (not working as designed/expected). See “type:bug-confirmed” for confirmed bugs.
Target SharePoint environment
SharePoint Online
What SharePoint development model, framework, SDK or API is this about?
Declarative list formatting
Developer environment
None
What browser(s) / client(s) have you tested
Additional environment details
Describe the bug / error
The Command Bar Customisation documentation https://learn.microsoft.com/en-us/sharepoint/dev/declarative-customization/view-commandbar-formatting#key lists the Command Bar keys for 'Classify and Extract' and 'Automate' as 'classifyAndExtract' and 'automate' respectively. Setting either or both keys to "hide":true has no effect i.e. the key is not hidden.
In the case of the Automate item. It is possible to setting either 'automateCreateRule' or 'automateManageRules' to be hidden but the subcategory Rules remains e.g.
Steps to reproduce
{ "$schema": "https://developer.microsoft.com/json-schemas/sp/v2/row-formatting.schema.json", "commandBarProps": { "commands": [ { "key": "classifyAndExtract", "hide": true }, { "key": "automate", "hide": true }, { "key": "automateCreateRule", "hide": true }, { "key": "automateManageRules", "hide": true } ] } }
Expected behavior
The Classify and extract and Automate commands are hidden.
The text was updated successfully, but these errors were encountered: