Dashboard class

From Catglobe Wiki
Jump to: navigation, search

Dashboard



Class to manipulate dashboards.

Parent class

Inherits from object

Constructors

  • (int resourceId "Resource id of the dashboard to load") - Load existing dashboard
  • (string layout "The layout to use.", string title "The title of the dashboard.", string isocode "The isocode of the title.") - Make new dashboard

Methods

  • Empty Save(string name "Name of the resource. If empty it will not change the existing name. Required for new scripts.", int parentResourceId "Parent of the resource. If 0 it will not change the existing. Required for new scripts.") - Save the current dashboard.
  • Empty Save() - Save the current dashboard using the existing name and parent.
  • (From object) string ToString() - The string representation of the object.

Properties

  • string Layout { get; set; } - The layout.
  • string ObjectTypeName { get; } - The name of the type of object.
  • string ShortUrl { get; set; } - Get/Set the short url to view the dashboard. This only works for full-html5 dashboards
  • Dictionary Title { get; set; } - Get/Set the localized title of the dashboard.
  • (From object) TypeInformation TypeInformation { get; } - Get information about this class.
  • int UniqueId { get; } - The resource id of the workflow.
  • string Url { get; } - Get the relative url to view the dashboard.