Deployment Errors Occur After Changing a SharePoint Column for a List

  • 16 February 2021
  • 0 replies
  • 4 views

Badge +1

Issue

After changing a column on a SharePoint list from a Choice field to a Lookup field (or vice versa) you may encounter an error that the list service object is referencing a property that could not be found while packaging or deploying the solution tied to the SharePoint list. The errors will look similar to the following: 

18007i5A86CC30F6344AFC.png

 

Resolution

These errors are caused by the K2 server caching old values. The following steps can be taken to resolve the errors so that you may package and then deploy your solution. These steps will need to be taken on both the source and target environment to ensure no errors are seen during the package and deployment process. 

1) Remove the old column from the SharePoint list's setting page
2) Go into the K2 Application page for the list 
3) Regenerate the SmartObjects, views, and forms 
4) Add the column back using the desired type 
5) Go back into the K2 Application page for the list 
6) Again, regenerate the SmartObjects, views, and forms 
7) Restart the K2 service


0 replies

Be the first to reply!

Reply