Search code examples
orchardcmsorchardcms-1.8orchard-modules

Add Attachment to a custom form in Orchard


I want to add a field in Orchard custom form so user can use it to upload a file with certain document type and size.

I've tried the following modules but nothing appears when adding a new field:

  1. File Field - Version: 1.2
  2. Media Picker Field - Version: 1.2
  3. Ajax File Uploader - Version: 1.5.1
  4. CloudConstruct.SecureFileField - Version: 1.4

Please help.

Update:

I've managed to implement IStorageProvider by myself but still the file uploaded with 0 KB size, please find cose snippet link


Solution

  • I've re-implement it and publish it on GitHub