Forms - Text file Prevalue Sources in a multi-server Environment
Hello Umbracians!
TLDR: In Umbraco 10 using Umbraco Forms 10 can we save prevalue source text files to a common location to ensure they're available to all servers?
We are in the process of migrating a client from Umbraco 8 to Umbraco 10.
For the most part everything has been relatively straightforward; we've updated the Dev database and I'm in the process of sorting out Umbraco Forms, which they make very heavy use of, and we're working through migrating the rest of the code (it's a large site and there's a lot of code).
Obviously we have migrated the forms to the database already, but I'm looking at the prevalue sources that are text files; these seem to now be stored in:
~\umbraco\data\UmbracoForms\PreValueTextFiles
This is fine on a single server configuration, but we use multiple servers (1 back office server for editing with multiple front end servers); previously we had a solution where the prevalue text files are stored in an Azure blob so if a user uploads a prevalue file it is available to all servers; without this, the front-end servers can't see the text file.
So that's the question - is there some config we can set up Umbraco Forms 10 to let prevalue files be saved to a blob, or can we somehow set up the front-end servers so they can get the prevalue text files from the back office?
Forms - Text file Prevalue Sources in a multi-server Environment
Hello Umbracians!
TLDR: In Umbraco 10 using Umbraco Forms 10 can we save prevalue source text files to a common location to ensure they're available to all servers?
We are in the process of migrating a client from Umbraco 8 to Umbraco 10.
For the most part everything has been relatively straightforward; we've updated the Dev database and I'm in the process of sorting out Umbraco Forms, which they make very heavy use of, and we're working through migrating the rest of the code (it's a large site and there's a lot of code).
Obviously we have migrated the forms to the database already, but I'm looking at the prevalue sources that are text files; these seem to now be stored in:
~\umbraco\data\UmbracoForms\PreValueTextFiles
This is fine on a single server configuration, but we use multiple servers (1 back office server for editing with multiple front end servers); previously we had a solution where the prevalue text files are stored in an Azure blob so if a user uploads a prevalue file it is available to all servers; without this, the front-end servers can't see the text file.
So that's the question - is there some config we can set up Umbraco Forms 10 to let prevalue files be saved to a blob, or can we somehow set up the front-end servers so they can get the prevalue text files from the back office?
Thanks!
Chris.
I contacted Support about this - there is a workaround here:
https://github.com/umbraco/Umbraco.Forms.Issues/issues/789#issuecomment-1253688222
And there is an RC for Forms 10 due out next week which adds a new way of doing it:
https://github.com/umbraco/UmbracoDocs/blob/a7a78d2628dbc126300f3874f0f4fdad7ef9adc5/Add-ons/UmbracoForms/Developer/IPreValueTextFileStorage/index.md
is working on a reply...