-
Notifications
You must be signed in to change notification settings - Fork 386
New command: spo brandcenter colors list #7162
Description
Usage
spo brandcenter colors list
Description
Lists the brand center colors
Options
None
Examples
List all brand center colors
m365 spo brandcenter colors listDefault properties
ColorCode
Title
IsVisible
Additional Info
As I noticed, the brand colors are stored in a SharePoint list in the Brand Center.
We can get all the information about the Brand Center site and the colors list ID using the same approach as in the spo brandcenter settings list.
I also noticed that the following call is used to ensure that the list exists:
https://tenant.sharepoint.com/sites/brandcenter/_api/BrandCenter/EnsureBrandColorsListFeature
The list contains three columns that we can use as output: Data__SPColorTitle, OData__SPColorCode, and OData__SPColorVisible.
Is it worth creating a full set of commands such as add and edit (since editing is essentially just modifying list items)?
Maybe this feature should simply be an extension of spo brandcenter settings list?
Let me know what you think.