system.kanoa.dashboard.getWidgetCategory
Description
Gets the requested widget categoriesSyntax
getWidgetCategory(paramsDict, userId)- paramsDict (dict)
- - widgetCategoryId (int)
- - widgetCategoryName (string)
- - enabled (boolean)
- dataset
Code Examples
# Example usage
widgetCategories = system.kanoa.dashboard.getWidgetCategory({'widgetCategoryName': 'Analytics'})
print system.kanoa.utilities.convertDatasetRowToJSON(widgetCategories, 0)
> {
'widgetCategoryDescription': None,
'widgetCategoryName': u'Analytics',
'widgetCategoryId': 7,
'enabled': True,
'changedDate': None,
'createdDate': Tue Jul 09 00:00:00 UTC 2024,
'createdBy': 5,
'changedBy': None
}
>