< class="prominent-subhead ">

Code Fix: After deploying a K2 package, regenerating Forms and SmartObjects results in an error

~~repeating-content.html~~
LEGACY/ARCHIVED CONTENT
This article has been archived, and/or refers to legacy products, components or features. The content in this article is offered "as is" and will no longer be updated. Archived content is provided for reference purposes only. This content does not infer that the product, component or feature is supported, or that the product, component or feature will continue to function as described herein.

Issue Description

After deploying a K2 Package and Deployment package referencing a SharePoint list, when you add a column to your SharePoint list, an error is presented when Forms and SmartObjects are regenerated.

Error Message

The following error occurs: “The requested item "AttachmentsListptarget_etc_AttachmentsView" cannot be found in the collection.”

Cause

Issue introduced by K2 Five RTM FP 18.

Resolution

  1. Ensure you have K2 Five RTM installed.
  2. Get the K2 Five RTM FP31 from Regional Support.
  3. Install the K2 Five RTM FP31 to apply the fix.
  4. It is recommended to refresh the browser cache.

Considerations

This fix is specifically for updating Forms and SmartObjects on the target environment with Forms Regenerate.