Getting an error when trying to get a form using FormStorage
Hello,
I'm trying to find out whether or not a member has already submitted a form in UmbracoForms by first, getting the form, then getting all records and checking if any match up with the currently logged in member.
To get the form I'm doing the following:
using(var storage = new FormStorage()) {
return storage.GetForm(id);
}
Id is a valid Guid.
However, when I do this I get the following error:
Unable to get Form with name: '6324830d-4eb0-4718-b802-748a695ebefd' off disk or from the cache. Check the file exists on disk
The form is definitely there, and the 'path' property of FormStorage is pointing to the correct place.
Getting an error when trying to get a form using FormStorage
Hello,
I'm trying to find out whether or not a member has already submitted a form in UmbracoForms by first, getting the form, then getting all records and checking if any match up with the currently logged in member.
To get the form I'm doing the following:
Id is a valid Guid.
However, when I do this I get the following error:
The form is definitely there, and the 'path' property of FormStorage is pointing to the correct place.
Any ideas about what I'm doing wrong?
is working on a reply...