Page 3 of 3

Re: Uppy procedure & form data

Posted: Fri Dec 30, 2022 5:16 pm
by yvesf
@vario,

in your code on the javascript side, you need to keep the parameter session_id in the uppy.setMeta; it doesn't work if you don't have that.

Code: Select all

uppy.setMeta({ procedure: 'NUUPLOADFILE_TEMPLATE', rv_patient_id : '#rv_patient_id#', rv_date : '#rv_date#' , session_id: window.nuSESSION })
Many thanks Kev1n for this huge piece of work.

Yves

Re: Uppy procedure & form data

Posted: Sat Dec 31, 2022 10:08 am
by vario
@yvesf,
I used Kev1n's method of doing the set Meta on 'file-added'. After some debugging (I'm getting better at this stuff!) I see a "not exists" error for the select object when using the original setMeta method.