Copied to clipboard

Flag this post as spam?

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


  • Zakhar 171 posts 397 karma points
    Apr 04, 2016 @ 12:48
    Zakhar
    0

    Uploading a file in my Umbraco 7 custom section

    Hey guys,

    I'm building a custom section in my Umbraco 7.3.7 and I struggle with implementing file upload. I need a simple single file upload functionality, but I can't find any angular upload libraries which would still work with AngularJS 1.1.5. The ancient version that Umbraco uses starting to become a big problem.

    Has someone implemented file upload recently? Can anyone help or advice something?

    Thanks!

  • Jason Espin 368 posts 1335 karma points
    Apr 04, 2016 @ 13:41
    Jason Espin
    0

    In Umbraco 7, the propertyEditors is made with AngularJs, but if you navigate to your Umbraco installation. \Umbraco\Views\propertyeditors\fileupload, you will find the markup for the fileupload.

    And in the \Umbraco\Js\umbraco.controllers.js you will find the angular code for the fileupload property. It starts at line 4072

  • Bendik Engebretsen 105 posts 202 karma points
    Nov 02, 2016 @ 20:46
    Bendik Engebretsen
    0

    If someone still struggles with this, I have just got it working:-) My receipe is here.

Please Sign in or register to post replies

Write your reply to:

Draft