Quantcast
Channel: DevNet Questions
Viewing all articles
Browse latest Browse all 8832

Kentico - BizForm File Field Attachment/Upload URL

$
0
0
For a BizForm field of type File using an Upload file control, the recorded submission data for the field is being saved as a string similar to a value of a858eda6-4699-4bda-81d0-1b85d69aa9a7.pdf/test.pdf for a PDF with a name of test.pdf with a field with a code name of Foo. I am trying to get the URL for that uploaded document for a given BizForm submission. Trying to access the attachment using the following URLs result 404 errors:https://somesite.com/getattachment/a858eda6-4699-4bda-81d0-1b85d69aa9a7.pdf/test.pdf https://somesite.com/getattachment/a858eda6-4699-4bda-81d0-1b85d69aa9a7.pdf/test.pdf.aspx https://somesite.com/CMSPages/GetFile.aspx?guid=a858eda6-4699-4bda-81d0-1b85d69aa9a7 How can the URL be built to access a given BizForm submission's File field that uses the Upload file control for a field with a code name of Foo? And/or how can be accessed from code behind if I know the BizForm submission's ID in something like a BizFormItemEvents.Insert.After handler.Thank you for any help you can provide.

Viewing all articles
Browse latest Browse all 8832

Trending Articles