How to store s3 keys in database

After days of trials and errors. i found an easy way to insert s3 files into data base…i tried the folder mapping method,i can’t seem to get it to work as i am not much of a technical person
here is my solution

  1. upload file into your assets folder
  2. use s3 putFile to send file to s3 storage(file must be saved as public read)
  3. in core action stap,select set value - the value should be your s3storageurl/name_of_ uploaded_file from the file upload step
  4. in the database ,in the column asset column select set value name from the picker

and done

1 Like