Code Fix: Error in K2 Workflow when uploading a document

  • 14 July 2022
  • 0 replies
  • 116 views

Badge +4

Issue Description

When you attempt to upload a document to K2 for SharePoint, an error occurs in K2 Workflow.

Error Message:

The following error occurs: “The requested item ‘MediaServiceImageTags’ cannot be found in the collection.”

Resolution

The fix is available in:

  • K2 Five (5.4) March 2022 Cumulative Update Fix Pack 07.
  • K2 Five (5.5) March 2022 Cumulative Update Fix Pack 09.

 

  1. Ensure you have the correct K2 version and/or Cumulative update installed. See KB001893 to see what Fix Pack level you have installed.
  2. Download the latest Fix Pack using the links in the table above for the version you require.
  3. Install the Fix Pack to apply the fix.
  4. It is recommended to clear browser cache and refresh the page.

Considerations

Step 1:

Navigate to the K2 Management Site. Expand the ‘Integration’ option and click on ‘Service Instances’.

24406iBE7F3E53F56F5644.png

 

Step 2:

Select your service instance and click ‘Edit’.

 

24405iD3B629C0A73F389A.png

 

 

Step 3:

On the ‘Configure Service Instance’ popup, scroll down to the ‘Excluded Fields’ setting.

 

24404i44C9D5C8C9021273.png

 

Step 4:

Copy and paste the following XML into the ‘Excluded Fields’ textbox and click OK.

 

<properties><property name="InternalName" value="MediaServiceImageTags"/><property name="InternalName" value="MediaServiceImageTags_Value"/></properties>

 

24403i9877F22976310A7C.png

 

Step 5:

The Service Instance may take a couple of minutes to update. Click OK once it is complete.

24402i3EA4206B3507BFDE.png

 


0 replies

Be the first to reply!

Reply