Skip to main content

system.kanoa.dashboard.getMarqueeDisplay

This function is part of the kanoaCore module

Description

Return the marquees for the requested display

Syntax

getMarqueeDisplay(paramsDict)
  • Parameters
      paramsDict dict
      - siteCode (int)
      - location (string)
      - screenName (string)
      - marqueeName (string)
      - marqueeId (int)
      - userId (int)
      - enabled (bool)
  • Returns
      dataset
  • Code Examples

    # Example usage
    marqueeDisplay = system.kanoa.dashboard.getMarqueeDisplay({'siteCode': 'Texas', 'location': 'Break Room', 'screenName': 'TV1'})
    print system.kanoa.utilities.convertDatasetRowToJSON(marqueeDisplay, 0)
    > {
    'siteCode': u'Texas',
    'location': u'Break Room',
    'screenName': u'TV1',
    'marqueeDisplayId': 21,
    'enabled': True,
    'marqueeId': 18,
    'marqueeName': u'Marquee #2',
    'theme': u'kanoa-dark',
    'createdBy': 5,
    'createdByUser': u'jason',
    'createdDate': Sun Oct 06 01:03:59 UTC 2024,
    'changedBy': 5,
    'changedByUser': u'jason'
    'changedDate': Mon Oct 07 21:39:55 UTC 2024,
    }
    >>
    >>>