Newer Version Available

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

File Input

Describes a new file input. To upload a file, provide the binary file in a multipart/form-data body part where name="fileData". See Uploading Binary Files.
Root XML tag
<fileInput>
JSON
1{ 
2   "desc":"Employee Survey Results",
3   "title":"emp_surv_results"
4}
Properties
Name Type Description Required or Optional Available Version
content​ModifiedDate Date File-specific last modified date that can be used to set a client-side modified date. Optional 32.0
desc String Description of the file to be uploaded. Optional 24.0
isInMyFileSync Boolean true if the file is included in the user’s Salesforce Files Sync folder, and is synced between that folder and Chatter; false otherwise. Optional 31.0
isMajorVersion Boolean true if the file is a major version; false if the file is a minor version. Major versions can’t be replaced. Optional 31.0
parentFolderId String ID of the containing folder. Optional 31.0
repository​FileId String ID of the external file. Optional 32.0
repositoryId String ID of the external data source. Optional 32.0
title String Title of the file. Optional 24.0