Skip to main content

system.kanoa.dashboard.getMarquees

This function is part of the kanoaCore module

Description

Return the marquees based on the passed parameters

Syntax

getMarquees(paramsDict)
  • Parameters
      paramsDict dict
      - marqueeId (int)
      - marqueeName (string)
      - userId (int)
  • Returns
      dataset
  • Code Examples

    # Example usage
    marquee = system.kanoa.dashboard.getMarquees({'marqueeName': 'Marquee #1'})
    print system.kanoa.utilities.convertDatasetRowToJSON(marquee, 0)
    > {
    'marqueeId': 12,
    'marqueeName': u'Marquee #1',
    'marqueeDescription': u'First ever',
    'enabled': True,
    'createdBy': 5,
    'createdByUser': u'jason',
    'createdDate': Tue Sep 24 00:00:00 UTC 2024,
    'changedBy': 5,
    'changedByUser': u'jason'}
    'changedDate': Mon Oct 07 18:59:53 UTC 2024
    }
    >>>