There are no log errors related to the page, it just shows zero records found.
We can see all the form results in the backend fine.
Completed the form again to add a new record in 10.1.1. and it shows in the Backend but still GetRecordsFromForm returns nothing.
This is extremely important as the whole point of the site is using Forms to record data from members and display statistics on those records.
Hi Will,
I came across this issue today while upgrading a site from v7 to v10 - none of my existing Form Records were getting returned by the RecordReaderService, but if I added new form entries, those new ones were getting returned.
I was able to solve the issue by updating the Examine index:
Go to Settings (Main dashboard)
Click on the "Examine Management" tab
Click on "UmbracoFormsRecordsIndex"
Scroll down to "Tools" and click the red "Rebuild index" button.
Thank you for that advice Heather, it turned my particular issue was more than that.
I spoke to the Forms team and it turned out to be a bug that occurred if fields have been changed in a Form that has already had submissions. It apparently was introduced in upgrading Forms from 9 to 10.
After upgrading to UmbracoForms 10.1.2 (and I did Umbraco 10.2 too), and also rebuilding the Examine Index, the IRecordReaderService then returned all Form Recrods correctly again.
GetRecordsFromForm not working with 10.1.1
I'm trying to iterate through form data to display some statistics. The code was working last week but now returns no records.
We are using GetRecordsFromForm:
We have just updated to Forms and Umbraco 10.1.1. Site seems to be working fine, but this issue is now occurring.
The code is inside a Partial View which is referenced in a template.
Partial view contains all the relevant references:
There are no log errors related to the page, it just shows zero records found.
We can see all the form results in the backend fine. Completed the form again to add a new record in 10.1.1. and it shows in the Backend but still GetRecordsFromForm returns nothing.
This is extremely important as the whole point of the site is using Forms to record data from members and display statistics on those records.
Any ideas for what to do to fix this issue?
Actually, the new form I just entered is being returned.
What would stop the other Records being available?
Hi Will, I came across this issue today while upgrading a site from v7 to v10 - none of my existing Form Records were getting returned by the RecordReaderService, but if I added new form entries, those new ones were getting returned.
I was able to solve the issue by updating the Examine index:
Thank you for that advice Heather, it turned my particular issue was more than that.
I spoke to the Forms team and it turned out to be a bug that occurred if fields have been changed in a Form that has already had submissions. It apparently was introduced in upgrading Forms from 9 to 10.
After upgrading to UmbracoForms 10.1.2 (and I did Umbraco 10.2 too), and also rebuilding the Examine Index, the IRecordReaderService then returned all Form Recrods correctly again.
Great! I'm glad you got it figured out, and a patch was released for anyone else with the same issue. 🙂
is working on a reply...