using Umbraco.Core.Composing;
using Umbraco.Core.IO;
using Umbraco.Forms.Data.FileSystem;
namespace MyNamespace
{
public class SetUmbracoFormsFileSystemComposer : IUserComposer
{
public void Compose(Composition composition)
{
composition.RegisterUniqueFor<IFileSystem, FormsFileSystemForSavedData>(new PhysicalFileSystem("~/media/UmbracoForms/"));
}
}
}
Hopefully someone can update the Documentation soon so this is a bit easier to find.
v8 UmbracoForms PhysicalFileSystem
In v7 we had FileSystemProvider configured to store our UmbracoForms data (json files etc) in a centralised directory.
I have set the media file using a composer
How do we do an equivalent for the forms file system in v8? It would be good to see this documentation updated. https://our.umbraco.com/Documentation/Add-ons/UmbracoForms/Developer/IFileSystem/
Thanks
Solved.
Hopefully someone can update the Documentation soon so this is a bit easier to find.
is working on a reply...