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