Copied to clipboard

Flag this post as spam?

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


  • AbsolutelyN 89 posts 437 karma points
    Feb 21, 2020 @ 10:30
    AbsolutelyN
    0

    Definitive answer to uploading custom files in custom backoffice section?

    Does anyone know of an example or tutorial showing how to upload custom files (not media files) in a custom section in the backoffice? Using Umbraco 8 ideally.

    I can see components in the backoffice docs such as fileManager and umbFileUpload but there are no examples: https://our.umbraco.com/apidocs/v8/ui/#/api/umbraco.services.fileManager

  • Kevin Jump 2348 posts 14896 karma points MVP 8x c-trib
    Feb 21, 2020 @ 10:43
    Kevin Jump
    100

    Hi,

    I have an example in this repo : https://github.com/KevinJump/DoStuffWithUmbraco/tree/master/Src/DoStuff.Core/FileUpload

    its a bit convoluted but you use the Upload directive combined with the ngf-file-upload module (which is included of Umbraco 8).

    the repo has example code for the repository, and then some angular on the dashboard (linked to in the readme) for handling the browser side of things.

  • AbsolutelyN 89 posts 437 karma points
    Feb 21, 2020 @ 11:45
    AbsolutelyN
    0

    Hi Kevin

    Thank you so much, that is absolutely brilliant! Problem sorted.

    Thanks!

  • 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