Changing a SharePoint List or Document Library

When a list or library changes (such as adding a new column, or changing the list or library name), and application elements such as SmartObjects or forms were previously generated for that list or library, you need to update the associated SmartObjects, and potentially the views, forms, and workflows as well. K2 detects SharePoint List or Document Library changes and displays a warning like 'Warning: the library and SmartObject are out of sync' on the K2 Application page. This warning provides links that can automatically update the generated artifacts for the list/library by regenerating the SmartObjects, views, and forms. Click the appropriate link to let K2 regenerate only the SmartObjects, or the SmartObjects, views and forms.


  • When regenerating customized Views and Forms, any customizations to those items will be lost.
  • If you are using the generated SmartObjects in a workflow, in a SmartForm or in code outside of the SharePoint application's generated elements, you may also need to update those items manually to handle the changes to the SmartObject.

You may also see this warning when you have deployed a K2 application to a target list/library with a structure different to the source list/library. In some cases you may be able to safely ignore this message. See the KB article KB002528: Known Issue: "The list and SmartObject are out of sync" warning message when Viewing List or Library Artifacts for more information.

Criteria

K2 checks the SharePoint item for changes that would impact a SmartObject property or method, such as: