CheckinUploadedFile Method
Checks-in a file based on binary data previously uploaded
Required Permissions
FileCheckInSyntax
public override File CheckinUploadedFile(
System.long fileMasterId,
System.string comment,
System.bool keepCheckedOut,
System.DateTime lastWrite,
FileAssocParam[] associations,
BOM bom,
System.bool copyBom,
System.string newFileName,
FileClassification fileClassification,
System.bool hidden,
ByteArray uploadticket
)Public Overrides NotOverridable Function CheckinUploadedFile( _
ByVal fileMasterId As System.Long, _
ByVal comment As System.String, _
ByVal keepCheckedOut As System.Boolean, _
ByVal lastWrite As System.Date, _
ByVal associations() As FileAssocParam, _
ByVal bom As BOM, _
ByVal copyBom As System.Boolean, _
ByVal newFileName As System.String, _
ByVal fileClassification As FileClassification, _
ByVal hidden As System.Boolean, _
ByVal uploadticket As ByteArray _
) As FileParameters
| Name | Description |
|---|---|
| fileMasterId | The masterId of the file being checking in. |
| comment | Comments to be associated with the new file version. |
| keepCheckedOut | If set to true, the new version gets uploaded and versioned, but the file is still checked out to the user. |
| lastWrite | The last time the file was modified on the client's machine. |
| associations | The associations on the file. |
| bom | A bill of materials to associate with this file. Null should be passed in if there is no BOM. |
| copyBom | If this value is true and the 'bom' parameter is null, the BOM from the previous version will be copied for this version. |
| newFileName | Allows the file to be renamed during the checkin. |
| fileClassification | The classification for the file. |
| hidden | A flag to indicate if a file should be hidden. |
| uploadticket | The identifier for the uploaded binary data. |
Return Value
A File object representing the Vault's view of the file.
Remarks
This function is used after the binary data has been uploaded through the FilestoreService. This function completes the check-in operation.
If neither the file nor the associations have been altered, the check-in operation will be rolled back instead. In these cases, no error is thrown but the File object returned will be the rolled-back version.