Regenerating MS Lists
Context
The MS List integration with send submission data to a list in the teams sharepoint site.
The normal process when making changes to a form adding a new field, changes to questions etc.), is when publishing that a new list is created.
Some changes to the form and/ or changes to the submission settings can trigger an error.
We were unable to create a new Microsoft List.
Your form changes have not been published.
Replicate the Error
While it is unknown how the actual error occurs.
The only method we have found is:
Change question content -> save -> publish.
Unchecking “Enable MS Lists on…” then check “Enable MS Lists on…” with app_id
Revert question content -> save -> publish.
Important considerations
There are different scenarios on for the error:
- Form has no changes
- Form has updates to publish
- Breaking platform change
Form has not been changed
Steps taken to Fix
Editor: Make a small change (add a page) in the form and save
Editor: Remove the small change (remove the page) in the form and save
Editor: publish the form - this will create a new list
Form has updates
This needs more intervention by republishing the previous live form and then publishing the new form.
Due to the way form handles versions we can not do this by pressing a button, so we need to create copies and change the metadata.
The steps below should be carried out by a member of the Form teams, the Admin or Editor is the best place in the Editor to accomplish the task.
Steps taken to Fix
Admin: Put the published form into Maintenance Mode
Admin: Copy metadata of live published form - note the version_id (original)
Admin: Copy metadata of broken form (not published) - note the version_id (new)
Editor: Make a small change in the form and save
Admin: Find the form metadata you just changed - note the version_id (changed)
Admin: Edit the metadata of the form that was just changed
- Replace with “original” metadata
- change version_id to the “changed” version_id from the “original”
Editor: publish the form - this will create a new list
Editor: Make another small change in the form
Admin: Find the form metadata you just changed - note the version_id (reset)
Admin: Edit the metadata of the form that was just changed
- Replace with “new” metadata
- change version_id to the “reset” version_id from the “new”
Editor: publish the form - creates a new list
Admin: Take the published form out of Maintenance Mode
Breaking platform change
However rare this is, it could be an option.
Find the forms which have list integration.
Admin - Overviews - generate a report for each environment
The report will contain a column ‘Collect information in MS List’.
In the Test (live-dev) environment we can inform users and provide instructions for regenerating their list - Form has NOT been changed method.
In the Live (live-production) we will do what we can to avoid disruption to receiving submissions.
This report can also highlight forms that receive via list but not also email for redundancy, so will need downtime to avoid interruption.
Confirm with form owners if they have unpublished changes, and if they need to have the form put into maintenance mode and follow Forms have updates process.
If the form has no unpublished changes, this is straightforward follow the Form has NOT been changed method.