To eliminate any type of corruption, I created a new site and a new blank form. Injected and created a mapping. I can sumbit to the library and the list with this new form. It is setup identicle as the last one.
I added another button for the refresh. I have one button for submit - SubmitToSharePointList /submit=ShPSubmit /mapping=mapping /id=my:ID
and one button for refresh - RefreshSharePointListItems /dsname=Refresh /id=my:ID /mapping=mapping /mode=Update
I have also added the result, error and qRulesLastModified fields to the form so I can see everything that is happening. (The refresh has also been added to the finished loading)
When I add items to the table and press the submit they are added to the list.
- Each item get a lastmodified entry with the time it was added ( I added 2 items)
- Result and error node are empty
If I refresh after making a change the result contains - Report for mapping: ItemList. All items match.
I have also tested on another form that I am using the refresh. After deleting an item, and refreshing, the error I am getting is:
Failed to refresh list items: Failed to select node for SharePoint list ID :/my:myFields/my:Plants/my:group2/my:ID
This is the path to the ID file in the repeating table
So far so good
If I delete an item from the table and press the submit button
- lastmodified entry for that item disappears and results and error is blank
- If I look in the list the item is still in the list
- I press the refresh button on the form result=Report for mapping: ItemList. All items match
- The item is still in the list and is not deleted.(1 item in form, 2 items in list)
If I close and reopen the form, there is one item left in the table and there is still two items in the list. The result field has-Report for mapping: ItemList. All items match
Am I missing something, I attached the template