Code Fix: After deploying a K2 package, regenerating Forms and SmartObjects results in an error
KB002547
PRODUCT
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.