• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Edit
Show / Hide Table of Contents

"dashboardtheme" MDO List

Some tooltip text!
• 1 minute to read
 • 1 minute to read

Implemented by the DashboardThemeListProvider class. The name of the MDO list is 'dashboardtheme'.

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 = SuperOffice.CRM.Lists.SoListProviderFactory.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"
In This Article
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top