Click or drag to resize

PFApplicationServicePackflowApplicationTypeAddOrUpdateFile Method

Adds a new (unconfirmed) file in an item field. BUT if the file (name) already exists in the field, its content is directly updated (no need for a confirmation).

Namespace:  Packflow.Interface.Services
Assembly:  MicaSystems.Packflow.Interface (in MicaSystems.Packflow.Interface.dll) Version: 1.0.0.0 (2.0.0.223)
Syntax
C#
protected PFFile AddOrUpdateFile(
	string contentTypeName,
	long itemId,
	string fieldName,
	string fileName,
	byte[] fileContent
)

Parameters

contentTypeName
Type: SystemString
itemId
Type: SystemInt64
fieldName
Type: SystemString
fileName
Type: SystemString
fileContent
Type: SystemByte

Return Value

Type: PFFile
See Also