RT 4.4.0 Documentation
RT::Dashboard - an API for saving and retrieving dashboards
Dashboard is an object that can belong to either an RT::User or an RT::Group. It consists of an ID, a name, and a number of saved searches and portlets.
An object of this class is called "dashboard"
Ensure that the ID corresponds to an actual dashboard object, since it's all attributes under the hood.
Returns a hashref of pane name to portlets
Returns the list of this dashboard's portlets, each a hashref with key
Returns a list of loaded sub-dashboards
Returns a list of loaded saved searches
Returns an array for one saved search, suitable for passing to /Elements/ShowSearch.
This will return a list of saved searches that are potentially not visible by all users for whom the dashboard is visible. You may pass in a privacy to use instead of the dashboard's privacy.
Returns the RT::Attribute representing the current user's subscription to this dashboard if there is one; otherwise, returns
Deletes the dashboard and related subscriptions. Returns a tuple of status and message, where status is true upon success.← Back to index