Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
It seem that if I delete a form entry through Umbraco and then use IRecordReaderService to retrieve records, the deleted record is returned until I rebuild UmbracoFormsRecordsIndex. Am I doing something wrong?
This is the routine I am using..
private bool DoesRecordExist(string jobId) { PagedResult<IRecord> AllRecords = _recordReaderService.GetRecordsFromForm( _config.GetValue<Guid>("FormId"), 1, 10); var status = AllRecords .Items .Where(t => t.ValueAsString("jobid") == jobId) .Any(); if (status) { return true; } return false; }
I figured it out - I had to set "DisableRecordIndexing": true within the Forms/Options in appsettings.json
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
IRecordReaderService returns deleted form entry
It seem that if I delete a form entry through Umbraco and then use IRecordReaderService to retrieve records, the deleted record is returned until I rebuild UmbracoFormsRecordsIndex. Am I doing something wrong?
This is the routine I am using..
I figured it out - I had to set "DisableRecordIndexing": true within the Forms/Options in appsettings.json
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.