Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

https://uppy.io/docs/form/ #2175

Closed
neuronflow opened this issue Apr 4, 2020 · 1 comment
Closed

https://uppy.io/docs/form/ #2175

neuronflow opened this issue Apr 4, 2020 · 1 comment
Assignees
Labels

Comments

@neuronflow
Copy link

neuronflow commented Apr 4, 2020

Hi I am using uppy form. I now switched from xhr upload to a node express server to tusd, unfortunately all the metadata from my form is not attached to my tusd upload. How can I now know which metadata belongs to which file?

my settings:

 uppy.use(Dashboard, {
        inline: true,
        target: "#uppylocation",
        showProgressDetails: true,
        note:
          "please select the T1, T1c, T2 and FLAIR .nii.gz file of the exam.",
        width: 1280,
        height: 350,
        theme: "auto",
      });

      uppy.use(Tus, {
        endpoint: process.env.VUE_APP_UPLOAD_URL, // use your tus endpoint here
        resume: true,
        autoRetry: true,
        retryDelays: [0, 1000, 3000, 5000],
        limit: 10,
      });

      uppy.use(Form, {
        target: "#uppysession",
        resultName: "uppy_result",
        getMetaFromForm: true,
        addResultToForm: true,
        multipleResults: false,
        submitOnSuccess: false,
        triggerUploadOnSubmit: false,
      });

https://uppy.io/docs/form/

@arturi arturi self-assigned this Apr 6, 2020
@arturi
Copy link
Contributor

arturi commented May 6, 2020

Hi @neuronflow, sorry for the long reply. Could you clarify, the metadata is attached, but you can’t tell to which file it belongs? If it’s coming from a <form>, I see no way of attaching it to a specific file in Uppy. To do that, we have file.meta in each file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants