P&D - Deployment validation fails with "Create Item List Item Method is missing from the package"

  • 16 February 2021
  • 0 replies
  • 12 views

Userlevel 5
Badge +20
 

Package and Deployment - Deployment validation fails "Create Item List Item Method is missing from the package."

kbt141605

PRODUCT
K2 Cloud
K2 Five
K2 blackpearl
TAGS
SmartObjects
SharePoint
Package and Deploy
Troubleshooting Document
How to Document
This article was created in response to a support issue logged with K2. The content may include typographical errors and may be revised at any time without notice. This article is not considered official documentation for K2 software and is provided "as is" with no warranties.

Issue

In certain scenarios deployment errors might appear mentioning methods like "Create Item List Item", "Update Item List Item", "Upload Document Document MetaData By ID", "Update Document Document MetaData By ID". This error can appear for either the package or the target list.

Symptoms

Unable to resolve the Package references to move on to deployment.

 

Resolution

This occurs because the source and target list / Library is not in sync. Those methods are only created on a list / Library that allows management of content types.

 

 

Image

 

If "Allow Management of content types" is enabled, these methods will generate when generating Data / SmartObjects. This means if this setting is disabled on the Source list / Library and a package is created to deploy to a target where this setting is enabled, it will fail with the error message that the method is not found in the package.

 

 

List and Libraries needs to be fully in sync and this includes Management of Content types options.

 

 

 


0 replies

Be the first to reply!

Reply