system.kanoa.dashboard.deleteMarqueeDisplay
Description
Deletes a marquee display.Syntax
deleteMarqueeDisplay(marqueeDisplayId, userId)- marqueeDisplayId (int)
- int userId - User ID
- number of records modified (int)
- msg (string): error message, None if successful
Code Examples
# Example usage
userId = 123
marqueeDisplayId = 4
retVal, msg = system.kanoa.dashboard.deleteMarqueeDisplay(marqueeDisplayId, userId)
if msg: system.perspective.sendMessage('showFailerToast', msg)
else: system.perspective.sendMessage('showSuccessfulToast', 'Marquee display has been deleted')