Code Fix: After deploying a K2 package, regenerating Forms and SmartObjects results in an error
KB002547
PRODUCTK2 Five 5.0
K2 Five (5.0) Fix Pack 31
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
- Ensure you have K2 Five RTM installed.
- Get the K2 Five RTM FP31 from Regional Support.
- Install the K2 Five RTM FP31 to apply the fix.
- 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.
