Restore Version By ID Method is missing from package

  • 16 February 2021
  • 0 replies
  • 4 views

Userlevel 5
Badge +20
 

Restore Version By ID Method is missing from package

kbt139424

PRODUCT
K2 Five 5.0
K2 blackpearl 4.7
TAGS
Deployment
Microsoft SharePoint
Upgrading
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

Unable to deploy a package containing SharePoint SmartObject - Restore version by ID method missing.

 

Two K2 Five (RTM) environments has the same configuration and both has K2 for SharePoint and SharePoint 2016.

In both environments there's a site named "Customer Service" and a document library named "Customer Contracts" with the exact same number of columns, of the same type and named exactly the same.

 

Symptoms

When trying to deploy a package that only contains the SmartObject related to that list, the following error appears:
 

"Restore Version By ID Method is missing from package"

Resolution

Using K2 for SharePoint to re-generate the SmartObject for the list, created the missing method in the SmartObject.  The SmartObject was generated with 4.7 and then the server was updated to K2 Five.
The solution was then re-packaged but the SmartObject didn't have the new method.

 

Only regenerating the SmartObject and repackaging solved the issue.

0 replies

Be the first to reply!

Reply