Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Bogdan 250 posts 427 karma points
    Jun 03, 2014 @ 10:37
    Bogdan
    0

    File upload

    Hi,

    I'm having trouble getting the file uploads to work, are they supported with this package?

    The file is posted properly:

    Content-Disposition: form-data; name="701db1f6-9161-406a-8447-a669cbbc2c63"; filename="Chrysanthemum.jpg" Content-Type: image/jpeg

    But I get a required field error message, because SubmitContourForm.cs checks for the field value in HttpContext.Current.Request

    Thanks!

  • Dennis Aaen 4500 posts 18255 karma points admin hq c-trib
    Jun 03, 2014 @ 12:48
    Dennis Aaen
    1

    Hi bfi,

    As you probably know this is a little old package, it´s from Wednesday, September 15, 2010 and says it was good for version 4.9.1 I can see in the ratings, that someone has got it to work with Umbraco 7.

    Earlier today I came across another package for Contour, the Cogworks CogFilteredUpload, with this package you should also been able to get an file upload. I know this is an old package too, but maybe you could give it a try to see if it can solve your needs.

    http://our.umbraco.org/projects/backoffice-extensions/cogworks-cogfilteredupload

    I hope so,

    /Dennis

  • Bogdan 250 posts 427 karma points
    Jun 03, 2014 @ 13:09
    Bogdan
    0

    Hi Dennis,

    Thanks for your reply!

    The thing is, the source code from here is from February 2013, and it's working quite well. I only got the parts I need (GetContourForm, Helper and SubmitContourForm) and only made minor modifications, for example to get the fields by id instead caption. Configured the methods from GetContourForm in restExtensions.config and a little javascript loads the form from /base/getContourForm/GetFormPages/?formGuid= and renders it. It is used in a customized site and ajax is a must. Because on the documentation it says that you can upload email attachments, I assumed file uploads work out of the box and I am missing something. The package you're suggesting only adds regex to file uploads, and that's not what we need.

  • Mark Stedman 3 posts 23 karma points
    Aug 27, 2014 @ 18:11
    Mark Stedman
    0

    We are using it to send uploaded file with the Send Email, Extended workflow and it's working properly.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies