After 4.7 upgrade, "Get Documents" and "Get Documents Metadata" displays an error

  • 16 February 2021
  • 0 replies
  • 2 views

Userlevel 5
Badge +20
 

After 4.7 upgrade, "Get Documents" and "Get Documents Metadata" displays an error

kbt144311

PRODUCT
K2 blackpearl 4.7
K2 smartforms 4.7
BASED ON
K2 blackpearl 4.7
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.
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

Upgrading to K2 4.7 results in being prompted to regenerate the K2 SmartObjects for all the lists and libraries. 

- All list and libraries were successfully regenerated.

- SmartObjects "Get Document By ID" and "Get Document Metadata by ID" run successfully.

- When trying to run "Get Documents" or "Get Documents Metadata" on any of the libraries, the error below appears:

 

"ErrorGeneral","0","ErrorMessage","SharePoint Broker","0 System.MissingFieldException: Field not found:
'SourceCode.SmartObjects.Services.SharePoint15.Common.FilterObjects.LookupAlphaNumericFields'. at SourceCode.SmartObjects.Services.SharePoint.Operations.SPListItem.Plans.ReadPlanIndex.
BuildBasicGetListItemsExecutionPlan(Boolean pagingEnabled) 
at SourceCode.SmartObjects.Services.SharePoint.Locators.ExecutionPlanLocator.Locate[T](Object executionPlanType) at SourceCode.SmartObjects.Services.SharePoint.
Operations.SPDocument.Builders.DocumentOperationContextBuilder.Create() at SourceCode.SmartObjects.Services.SharePoint.Factories.OperationContextFactory.Create() at SourceCode.SmartObjects.
Services.SharePoint.Factories.ExecutableObjectFactory..ctor(ILogger logger, IServiceMarshalling serviceMarshalling, ISecurityManager securityManager, ServiceAssemblyBase serviceAssemblyBase) 
at SourceCode.SmartObjects.Services.SharePoint.SharePointService.Execute(). Additional info: 
Field not found: 'SourceCode.SmartObjects.Services.SharePoint15.Common.FilterObjects.LookupAlphaNumericFields'..",
"anonymous","0.0.0.0","K2-Server:C:Program Files (x86)K2 blackpearlHost ServerBin","133422","967b39200d0c4bec92333a2cb1ad2409",""

Symptoms

This issue occurs when you create a new document library and a new custom list, both without any custom fields, and then create a SmartObject for these libraries.

Executing the method "Get Documents" or "Get Documents Metadata" on any of the libraries via the SmartObject tester tool will produce the error.

Resolution

To resolve this issue, run a K2 Blackpearl repair via the installation media.

 

We recommend running a K2 SmartForms repair as well.

 

Once the repairs are done, reinstall any Cumalative Updates and Fix packs that were applied.

 

 


0 replies

Be the first to reply!

Reply