-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
Hello there,
Thanks for an excellent uploading tool. I'm trying to figure out how to send custom parameters with each file. I'm able to send parameters that go with all the files via:
this.flow.flowJs.opts.query = {param: "test"}
How do I do this for each file in the collection? I'm trying to send up an orderId so the files can be ordered by the user.
I've tried setting the .query of each file:
this.flow.flowJs.files.forEach(f => {
f.flowObj.opts = {
query: function (flowFile: any, flowChunk: any) {
return {
OrderId: 1
};
}
};
});
But this over-writes some needed parameters that are children of .query.
Any help would be appreciated.
Cheers,
Caleb
Metadata
Metadata
Assignees
Labels
No labels