dag-hammarskjold-library / dlx-rest

UNDHL Files and Metadata Manager
1 stars 1 forks source link

File Upload: Formats permitted on drag and drop #1221

Open meropeee opened 10 months ago

meropeee commented 10 months ago

We should only permit .pdf and .tiff files. Digitization is using .tiff for maps, but currently they use the collector tool to upload those files and not the metadata.un.org.

JoelleSciboz commented 1 month ago

I need the following file format to be allowed:

Currently, it is not working as my experiment showed:

  1. I created a record for a dataset, I included made up symbol to see if this will link the file correctly
  2. I used the file upload to upload a .csv and a .md file.
  3. Using the file upload, I primary thought I was able to upload these files. image And the links were created in the bib image

Problem: By clicking to the link, it automatically add the pdf extension, and does not keep the initial one:

image

Also I think the document symbol should not be required to upload the file, it forces us to make up fake ones.