Please help to understand the FileDocument object in MX cloud

0
  When we save the FileDocument in Cloud say S3, then only the content is saved in the S3 bucket and the metadata/attributes of FileDocument remain in dB ? If we archive the files and want to free up the space in dB will the deletion of FileDocuments, how to query the archived files ? Can we specify the additional attributes when the file is getting save so that we can use these criteria to retrieve the files from S3 ?    
asked
1 answers
0

If you store a file in S3, you get a unique identifier for that file that you can use to retrieve it again.
So if you want to query an 'archived file' (so uploaded to S3), just call the S3 endpoint with the unique ID to retrieve the file.

As far as I know, you can only store files in S3, not additional data/attributes.

If you store a file in S3, you get a unique identifier for that file that you can use to retrieve it again.
So if you want to query an 'archived file' (so uploaded to S3), just call the S3 endpoint with the unique ID to retrieve the file.

As far as I know, you can only store files in S3, not additional data/attributes.

answered