...
It is required to set SObject’s File_Name__c, File_Size_in_Bytes__c and Parent__c
fields. You can optionally set other custom fields.For S-Drive Attachments files, Parent__c refers to its parent object id. In order to set
the parent folder id, use Parent_Folder_Id__c field. For S-Drive Folders files,
Parent__c refers to its parent folder id and if you want to upload the file to home
folder set this to null. Also for S-Drive Folders files, objectId must to be set to null.If you put expiration, acl, bucket, key and x-amz-server-side-encryption conditions in
the policyMap, these parameters will be ignored. Because, these are being set in the
initializeUpload () method. You do not need to put these parameters in the
policyMap. But, you must use these parameters while uploading.
Form Field | Value |
acl | 'private' |