"dashboardtheme" MDO List
•
Environment: onsite, online
Some tooltip text!
• 1 minute to read
• 1 minute to read
Implemented by the
Additional Attributes
| Description | Name | Example Value |
|---|---|---|
| Return dashboard themes | DashboardTheme | |
| Return dashboard themes associated with the client name | client | |
| Return dashboard themes with this style value | style |
Sample Request
GET /api/v1/MDOList/dashboardtheme
Authorization: Basic dGplMDpUamUw
Accept: application/json; charset=utf-8
Accept-Language: *
Sample Code
var listProvider = ClassFactory.CreateRequired<SuperOffice.CRM.Lists.ISoListProviderFactory>().Create("dashboardtheme", forceFlatList: true);
foreach (var item in listProvider.RootItems) {
Console.WriteLine("{0} {1} {2} {3}",
item.Id, ResourceManager.ParseInlineResources(item.Name), item.StyleHint, item.ExtraInfo);
}
Sample Output
| Id | Name | StyleHint | ExtraInfo |
|---|---|---|---|
| 1 | Default | client=sales&style=light | |
| 2 | Calm | client=sales&style=light | |
| 3 | Dark | client=sales&style=light | |
| 4 | Dark mode | client=sales&style=dark | |
| 5 | Dark mode | client=mobile&style=dark |
Related MDO Lists
- "dashboardthemeheadings"
- "dashboardthemeheadingswithallitem"
- "dashboardthemeheadingswithallitemwithnoselection"
- "dashboardthemeheadingswithnoselection"
- "dashboardthemewithallitem"
- "dashboardthemewithallitemwithnoselection"
- "dashboardthemewithnoselection"