Hi,
what we are trying to achieve is to associate an uploaded file with the form in which it was uploaded. Every form (i.e. every time a view is returned) is given a GUID and we would like all files uploaded from that form to be associated with that GUID.
At the moment, I can't see how to get this to work. Yes, the server side handler executes when a file has been uploaded, but I can't tell from the information in the event args the form that it come from.
Anyone solved this problem?
Hello BeethovenCS,
Thank you for posting in the community.
I am attaching a sample illustrating how information about the view from which the file was uploaded may be acquired (via the Request object'sUrlReferrerproperty). I will need to do some more research on whether the GUID of the specific form will be provided through that property in this case, or if any other approaches exist in this scenario.
In the meantime please do not hesitate to contact me with any updates or additional questions regarding this scenario.