Known Issue: Unsuitable item message

  • 16 February 2021
  • 0 replies
  • 7 views

Userlevel 5
Badge +20
 

Known Issue: Cannot deploy a package on a SharePoint Subsite, status shows Unsuitable item message

KB002375

PRODUCT
K2 Cloud
K2 Five
K2 blackpearl
K2 Five (5.1) November 2018 Cumulative Update Fix Pack 11
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

When you deploy a package to a subsite and you try to map it to an existing SharePoint list, you see an Unsuitable Item message in the Status column.

Image

 

When you click the More Info link, you see an Incompatibility Found dialog that states The selected Target Object is not supported by K2 as shown in the following image.

Image

 

 

Cause

The issue is with a SharePoint method that splits a relative URL and creates a list of URLs. It then uses these parts to create the hierarchy as in the following example:

Relative URL = site/site

Root Site = https://portal.denallix.com

Part 1 = site

Root Site + Part 1 = https://portal.denallix.com/site

 

The method uses this URL to query SharePoint, but it only has permissions on https://portal.denallix.com/site/site. This causes the permission issue and the error.

 

Scenario:

In SharePoint, you create a site structure that has subsites going down more than one level. Example of this structure as shown below:

Portal - https://portal.denallix.com

Subsite A - https://portal.denallix.com/SubSiteA

Subsite B - https://portal.denallix.com/SubSiteA/SubSiteB

 

You then break permission inheritance on all the subsites. You add a user who only has access to SubSite B site. This means they cannot access Portal or SubSite A. When this user deploys a package to SubSite B and tries to map to the existing SharePoint list, the Unsuitable Item status shows.

 

Resolution

This is a known error. Solve this by giving the person deploying the package access to the entire site.

 


0 replies

Be the first to reply!

Reply