K2 SharePoint application for non-generic List

  • 30 September 2014
  • 5 replies
  • 9 views

Badge +1

We have a SharePoint solution that defines a list type that is derived from the built-in generic list (so we can add additional functionality, such as event receivers).

 

However, when I try to activate the K2 application for such a list I get the following mesage:

 

   "The current list is not supported by K2 for SharePoint. Select a different list for creating a K2 Application."

 

Is it not possible to activate the K2 application for a type that is not either a document library or a generic list?


5 replies

Badge +7

Hello PhilippSchmid,

 

Here's an article that lists out the Supported and Unsupported Artifacts and are specific to the K2 for SharePoint application. 

 

Please refer to the "Supported and Unsupported SharePoint List and Library Templates" section.

Badge +1

That list says that 'Custom List' is supported!

 

In our solution we define a list template with BaseType="0" (which is Custom List according to http://mirusp2010.blogspot.com/2013/03/list-template-id.html) and Type="15000"

 

I wonder if the K2 code checks the type, rather than the base type.

Badge +8

 


"Custom List" is a term used within SharePoint for the ability to take a vanilla list and bring in columns.  It sounds like there might be a difference between a SharePoint custom and a list you built to bring in functionality.

Badge +1

Our custom list template adds a few columns, replaces the EditForm.aspx page, and attaches event receivers. It should all be compatible with the K2 application.

Badge +1

Using the Smart Object Services Tester I was able to add the BaseTemplate of 15000 to the approved list of list types:

 

1. Open Smart Object Services Tester

2. Navigate to the SharePoint site collection that contains the template definition

3. Right-click and open 'Edit Service Instance'

4. Add the line below to the 'Included Lists' field:

 

                   <Lists><list name="BaseTemplate" value="15000" /></Lists>

 

5. Activate the K2 application for an instance of a list with BaseTemplate 15000.

 

 

Reply