User can set folder names according to a specific field when uploading using the "Drag Drop & Upload Files to Amazon S3" Lightning Component. Follow these steps:


  • Go to the specific record where you've added the "Drag Drop & Upload Files to Amazon S3" Lightning Component.
  • Click on the gear icon and select "Edit Page".
  • Find the "Drag Drop & Upload Files to Amazon S3" component within the page editor.
  • Within the component settings, locate the field labeled "Folder Field API Name."
  • Enter the API name of the field you want to use for naming the folder.
  • Click on "Save" to preserve the changes made.
  • With these settings in place, when you upload a file using the Drag Drop & Upload Files to Amazon S3 Lightning Component, a folder will be created with a name based on the value of the selected field.