Copied to clipboard

Flag this post as spam?

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


  • Nicholas Westby 2054 posts 7103 karma points c-trib
    Aug 04, 2016 @ 16:00
    Nicholas Westby
    0

    Formulate 0.3.2 Just Released (Upload File Fields)

    You can download it here: https://our.umbraco.org/projects/backoffice-extensions/formulate/

    The main change made was the addition of an upload field type:

    upload file field

    Further release notes can be found here: https://github.com/rhythmagency/formulate/releases/tag/v0.3.2

    If you've never heard of Formulate, you can read about it here: http://www.formulate.rocks/

  • Raj 24 posts 94 karma points
    Feb 02, 2022 @ 18:44
    Raj
    0

    Hello,

    Will we be able to save to particular folder on server using this upload filed type. I'm not able to find the options. Appreciate any help regarding the same.

    Thanks, Raj

  • Nicholas Westby 2054 posts 7103 karma points c-trib
    Feb 02, 2022 @ 18:57
    Nicholas Westby
    0

    If you are on the latest version of Formulate, look in FormulateConfiguration.json in the App_Plugins/Formulate folder. There is a FileStorageBasePath property. I think by default it is set to ~/App_Data/Formulate/FileStorage/Files/. There may be a similar option with the version of Formulate for Umbraco 7, but I can't recall the details. Maybe look in ~/Config/Formulate/.

  • Raj 24 posts 94 karma points
    Feb 02, 2022 @ 20:16
    Raj
    0

    Hello Nicholas,

    Thanks for getting back. I looked into all formulate folders in Umbraco 7, but was not able to see any file named FormulateConfiguration.json. Is that a different file name on version 7?

    Thanks, Raj

  • Nicholas Westby 2054 posts 7103 karma points c-trib
    Feb 02, 2022 @ 20:36
    Nicholas Westby
    0

    As mentioned above, check in ~/Config/Formulate/ for Umbraco 7. If memory serves me, that folder should have some Formulate configuration files (they would end with ".config"). The web.config may also have some config options related to Formulate.

  • Raj 24 posts 94 karma points
    Feb 03, 2022 @ 12:15
    Raj
    0

    Hi Nicholas,

    Thanks again for pointing me to the correct folder. I was able to find this setting in persistence.config under ~/config/formulate folder (If anybody is looking for this setting). I have changed it to required path. But yet to test it as I'm unable to submit the forms. I have raised this issue in another thread.

    All form configuration are correctly set but when submitted i get unknown error message. Hope i get a solution on this as well.

    Thanks, Raj

  • Raj 24 posts 94 karma points
    Feb 04, 2022 @ 13:03
    Raj
    0

    Hi Nicholas,

    Can you please let me know if we can change the path to save in a virtual directory? The form does not submit if a virtual directory path is given. Any thoughts?

    Also in the default file storage path "/App_Data/Formulate/FileStorage/Files/", the files are stored in a different name and as type "file" format and not as actual file name uploaded with the required extension.

    Anyway to have the file uploaded as such in the directory?

    Thanks, Raj

  • Raj 24 posts 94 karma points
    Feb 04, 2022 @ 13:48
    Raj
    0

    Hello Nicholas,

    I was able to get the files listed on virtual directory. Just would like to know, if the uploaded files can be listed as such instead of file type extension. Can you please suggest?

    Thanks, Raj

  • Nicholas Westby 2054 posts 7103 karma points c-trib
    Feb 04, 2022 @ 17:52
    Nicholas Westby
    0

    I don't entirely follow. Can you show a screenshot of the file in File Explorer and explain what filename you were expecting vs what filename you got?

    There may very well be some sort of bug with file naming, or it may have been written in a particular way to avoid a security issue, though I don't recall the details.

    Just a heads up that the Umbraco 7 version of Formulate is unlikely to get many new updates (we are currently working on the Umbraco 9 version to try and get that ready for release).

  • Raj 24 posts 94 karma points
    Feb 04, 2022 @ 18:01
    Raj
    0

    enter image description here

    Hello Nicholas,

    Thanks for the heads up. This is how i see the files saved under "App_Data/Formulate/FileStorage/Files/" . I dont see the actual filenames stored with extension. So when i upload a file "Test.pdf" , i expect to see that filename in the folder instead i see a file with unique name "002543caccad488e98385d83467bae20" with extension .file type

    Thanks, Raj

  • Nicholas Westby 2054 posts 7103 karma points c-trib
    Feb 04, 2022 @ 18:25
    Nicholas Westby
    0

    That seems like a bug (my guess is the GUID was supposed to be a folder, and the file was supposed to reside within it). If this exists in the Umbraco 9 version, we will be sure to address it there. Thanks for pointing this out.

    If you'd like to submit a pull request for the Umbraco 7 or Umbraco 8 version, we can get that released for you.

  • Raj 24 posts 94 karma points
    Feb 04, 2022 @ 18:36
    Raj
    0

    Hello Nicholas, How do i submit a pull request on github. Looks like it is disabled.

  • Nicholas Westby 2054 posts 7103 karma points c-trib
    Feb 04, 2022 @ 18:55
    Nicholas Westby
    0

    https://github.com/rhythmagency/formulate/pulls

    If you haven't done them before, you'll want to read about them: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests

    In short, you fork the repo, create a feature branch, write some code, push the code to your fork, then create a pull request based on that fork (I would then review that pull request, merge in your code, then create a new release).

    It is considered good manners to first create a ticket (here: https://github.com/rhythmagency/formulate/issues) first to describe your issue in detail and the approach you plan to take to address the issue. That way, you can be sure you and the repo owner agree before you invest any serious amount of time in the endeavor.

Please Sign in or register to post replies

Write your reply to:

Draft