system.kanoa.dashboard.updateScreenDashboardField(screenDashboardId, field, value, userId)
Updates the field with the passed value for the screenDashboardId
Parameters
screenDashboardId Integer: Id of screen dashboard to update
field String: Name of column
value pyObject: Datatype of referenced field
userId Integer: Id of user executing the function
Returns
# of records modified Integer
message String
Example
userId = 123
screenDashboardId = 7
retVal, msg = system.kanoa.dashboard.updateScreenDashboardField(screenDashboardId, 'dashboardId', 12, userId)
if msg: system.perspective.sendMessage('showFailerToast', msg)
else: system.perspective.sendMessage('showSuccessfulToast', 'Screen Dashboard field has been updated')