Skip to main content

system.kanoa.attribute.updateAttribute(attrInfo, userId)

Updates an attribute


Parameters

attrInfo Dictionary

- attributeDescriptionString
- attributeIdInteger
- attributeNameString
- enabledBoolean
- parentIdInteger

userId Integer


Returns

# of records modified Integer


Example

attrInfo = {
'attributeId': 1,
'attributeName': 'some attribute name',
'attributeDescription': 'some description',
'parentId': 6,
'enabled': True
}
userId = 123
modifiedRecords = system.kanoa.attribute.updateAttribute(attrInfo, userId)