Newer Version Available

This content describes an older version of this product. View Latest

ContentHubUploadItemInputRepresentation()

Used to create an contentHubUploadItemInputRepresentation instance with the following parameters.

Signature

ConnectApi.ContentHubUploadItemInputRepresentation();

Parameters

contextId
Type: String
The Salesforce record ID associated with the file.
fileName
Type: String
The name of the file to be uploaded.
contentType
Type: String

The Multipurpose Internet Mail Extensions (MIME) type of the file. For example, image/png or application/pdf.

contentSize
Type: String
The size of the file in bytes.