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.
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/.
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?
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.
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.
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?
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?
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).
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
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.
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.
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:
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/
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
If you are on the latest version of Formulate, look in
FormulateConfiguration.json
in theApp_Plugins/Formulate
folder. There is aFileStorageBasePath
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/
.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
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.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
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
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
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).
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
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.
Hello Nicholas, How do i submit a pull request on github. Looks like it is disabled.
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.
is working on a reply...