Skip to main content

system.kanoa.sheet.updateFile(chkShtId, fileName, fileBlob, description, thumbnail, userId)

Updates a file for a chksheet.


Parameters

chkShtId Integer: Id of check sheet
fileName String: File name
fileBlob byteArray: file data
description String: Descriptino of the file
thumbnail byteArray: Thumbnail image
userId Integer


Returns

# of records created Integer


Example

chkShtId = 56
fileName = "example_file.txt"
fileBlob = b'This is the file content.'
description = "Example file description."
thumbnail = b'Thumbnail content.'
userId = 5
retVal = system.kanoa.quality.sheet.updateFile(chkShtId, fileName, fileBlob, description, thumbnail, userId)