Skip to main content

system.kanoa.dashboard.updateUserDashboardField(userDashboardId, field, value, userId)

Updates the field with the passed value for the userDashboardId


Parameters

userDashboardId Integer: Id of user dashboard to update
field String: Name of column
value pyObject: Datatype of referenced field
userId Integer


Returns

# of records modified Integer
message String


Example

retVal, msg = system.kanoa.dashboard.updateUserDashboardField(7, 'isDefault', True, userId)
if msg: system.perspective.sendMessage('showFailerToast', msg)
else: system.perspective.sendMessage('showSuccessfulToast', 'User Dashboard field has been updated')