Calling all developers! We invite you to provide your input on Feature Experimentation by completing this brief survey.
Calling all developers! We invite you to provide your input on Feature Experimentation by completing this brief survey.
The form should be in the "EPiServer Forms" folder since the API only find form in there. Could you check again with that?
The form is in the Forms folder with all our other forms which get picked up by the method. Could it be anything to do with permissions or access rights to the form as I've noticed that not all users can see the form (in the forms folder) so was wondering if the api only picks up forms with specific rights?
Yes, at least you need to have "Read" permission to get the form information. Here is how it filter:
new FilterAccess(AccessLevel.Read).Filter(listOfFormContainerBlock);
Ok, would the scheduled job run under the admin user as I know that user can see the Form and manually extract the data
We run a scheduled task (running from episerver) that loops through all available forms in our episerver instance and exports any submissions that have been made since the last time the scheduled task was run (every 24 hours).
To get the the available forms we run
var formsInfo = _formRepository.GetFormsInfo(null);
foreach (var formInfo in formsInfo)
{
// check if the form has data, do something with data
}
where _formRepository is an instance of EPiServer.Forms.Core.IFormRepository.
Recently a user has created a form that does not get picked up by the GetFormsInfo method.
What (if anything) stops a form being picked up by this method?