Skip to main content

system.kanoa.dashboard.getMarqueeDashboards

This function is part of the kanoaCore module

Description

Get all marquee dashboards for the specified parameters

Syntax

getMarqueeDashboards(paramsDict)
  • Parameters
      paramsDict dict
      - userId (int)
      - marqueeId (int)
      - marqueeName (string)
      - marqueeDashboardId (int)
      - enabled (bool)
  • Returns
      dataset
  • Code Examples

    # Example usage
    marqueeDashboards = system.kanoa.dashboard.getMarqueeDashboards({'marqueeId': 12})
    print system.kanoa.utilities.convertDatasetToJSON(marqueeDashboards)
    > [
    {
    'dashboardPath': u'Asset Downtime',
    'enabled': True,
    'duration': 30,
    'changedDate': None,
    'marqueeId': 12,
    'createdDate': Tue Sep 24 04:09:37 UTC 2024,
    'marqueeName': u'Marquee #1',
    'dashboardId': 1,
    'createdBy': 5,
    'changedBy': None,
    'sortOrder': 0,
    'marqueeDashboardId': 1
    },
    {
    'dashboardPath': u'System Dashboards\\Asset Overview',
    'enabled': True,
    'duration': 30,
    'changedDate': None,
    'marqueeId': 12,
    'createdDate': Tue Sep 24 14:18:26 UTC 2024,
    'marqueeName': u'Marquee #1',
    'dashboardId': 4,
    'createdBy': 5,
    'changedBy': None,
    'sortOrder': 1,
    'marqueeDashboardId': 2
    },
    {
    'dashboardPath': u'Lean Dashboards\\Production Dashboard',
    'enabled': True,
    'duration': 30,
    'changedDate': None,
    'marqueeId': 12,
    'createdDate': Tue Sep 24 14:23:35 UTC 2024,
    'marqueeName': u'Marquee #1',
    'dashboardId': 5,
    'createdBy': 5,
    'changedBy': None,
    'sortOrder': 3,
    'marqueeDashboardId': 3
    }
    ]
    >>
    >>