DT Editor - Upload file metadata into the same table as my other data

DT Editor - Upload file metadata into the same table as my other data

jack80861jack80861 Posts: 3Questions: 2Answers: 0

Is it possible to get Editor to upload the image metadata into the same table as my other data? E.g. I have an existing table with several columns e.g. First Name, Last Name....and so on, including a column already existing for the filename e.g. ProfilePicturePath. I can't use a separate table to store file metadata (the filename) without rewriting a lot of the previous developer's code, as the filename is picked up from the original table and this is done in many places on the website.

Is there a way around this?

Thanks!

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 61,714Questions: 1Answers: 10,104 Site admin
    Answer ✓

    I’m sorry to say that, no, it isn’t possible at this time with the built in upload feature. The upload of the file is async to the rest of the form - it needs to upload and store the meta data when the file is selected.

    The only why around that is to write a custom field type plug-in which will read the file information (e.g. as base64) and submit that as a value in the regular form for the server to handle.

    Allan

  • jack80861jack80861 Posts: 3Questions: 2Answers: 0

    Understood, thanks!

This discussion has been closed.