If you are a user of Nintex Forms and you delete a form from a list you may get the following error:
Sorry, something went wrong
File Not Found.
Web Parts Maintenance Page: If you have permission, you can use this page to temporarily close Web Parts or remove personal settings. For more information, contact your site administrator.
When Nintex Forms are deleted from some lists, the list's content type is left in a state where it is still looking for the deleted Nintex Form.
To fix this SharePoint Administrators can run a Cmdlet from the SharePoint Management Shell on the server:
Set-BWRepairAfterNintexFormDelete "https://myserver/sites/mysitecollection/projects/myproject" "List Name"
The format of the cmdlet is:
Command | Set-BWRepairAfterNintexFormDelete |
|
---|---|---|
Parameters | "URL" for the site to be repaired.TIP: put inside quotes to avoid issues with spaces. |
|
"List Name" of the list with the forms to be repaired.TIP: put inside quotes to avoid issues with spaces. |
||
-WhatIf Show repairs to be applied, but will NOT save the changes. |
||
-Confirm:$false Repairs any forms without a request to confirm the changes. |