You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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
The text was updated successfully, but these errors were encountered: