Skip to main content


 

Symptoms

 


Setting Up K2 For SharePoint 2013 On-Premise
 

 

Diagnoses

 


We have an existing K2 Setup with SharePoint 2010 environment. Now we are planning to setup the K2 for SharePoint on the SharePoint 2013 environment.
I have run the K2 BlackPearl installation in SharePoint 2013 Web Server and App Server with following features enabled:
1. K2 for SharePoint 2013 in SharePoint 2010 mode
2. K2 Core
3. K2 Blackpearl Setup manager

After this is completed successfully, I am not able to see any option in SharePoint Central Administration for any K2 settings. We do not want to enable the Smartforms yet on the SharePoint 2013, only K2 for SharePoint feature is required.
 

 

Resolution

"K2 for Sharepoint 2013 Apps" integration is very different from the previous "K2 for Sharepoint 2010" Integration. With K2 for Sharepoint 2013 apps integration, you no longer need to run any "Setup Manager" on any of the Sharepoint servers to install the K2 components as previously done in Sharepoint 2010 as such, the Central Administration > "K2 for Sharepoint Configuration Wizard" does not exists in Sharepoint 2013 Integration.

To integrate with Sharepoint 2013, usually the following components just need to be installed on the K2 server in the following order:

1. K2 blackpearl 4.6.9
2. K2 smartforms 4.6.9
3. K2 smartforms Control Pack 4.6.9
4. K2 for SharePoint 4.6.9

* K2 for Sharepoint 2013 has a dependency on K2 Smartforms. If you do not currently own a Smartforms License, you can request and use just a Smartforms Runtime SKU license which can be requested from:
https://portal.k2.com/licensekey/default.aspx

After the installation of these 4 components on the K2 server, you will only need to copy the "K2 for SharePoint 4.6.9" installation files to a Sharepoint Server and run the "appdeployment.exe" executable to add the K2 for Sharepoint App to your App Catalog.

Please note that your Sharepoint 2013 environment will need to be configured first to support "SharePoint-Hosted apps" before adding the K2 for Sharepoint app to the App Catalog and running the App Registration Wizard. Please see the documentation below regarding the Sharepoint Environment Pre-Reqs before adding the K2 Apps to the App Catalogs:

The "Sharepoint Requirements" section:
http://help.k2.com/onlinehelp/K2ForSharePoint/ICG/4.6.9/default.htm_Install_Topics/Before/before_you_begin.htm?TocPath=_____1

With Sharepoint 2013 on premise integration, you will need to use the K2 for Sharepoint app that is added to your App Catalog and is found when selecting the "From My Organization..." option.

Below are some information setting up Sharepoint 2013 to support apps in general, before adding the K2 app to the Sharepoint App Catalog.

SharePoint 2013 Foundation is not supported.

SharePoint Server 2013 Standard Edition or SharePoint Server 2013 Enterprise Edition:
K2 for SharePoint supports any SharePoint environment (online/O365 or on-premises) which have the following features:

App Catalog (SharePoint)
App Deployment: Cloud-Hosted apps
App Deployment: SharePoint-Hosted apps
OAuth

- SharePoint 2013 Apps must be enabled for the K2 for SharePoint App to work (http://www.sharepointalex.co.uk/index.php/2012/11/enabling-sharepoint-2013-apps/).

For more information see the Microsoft Technet page: http://technet.microsoft.com/en-us/library/fp161232.aspx

For an index of useful resources concerning installing and managing apps in SharePoint 2013, see: http://technet.microsoft.com/en-us/library/fp161232.aspx

Specifically:
Configure an environment for apps for SharePoint 2013: http://technet.microsoft.com/en-us/library/fp161236.aspx
Enable apps in AAM or host-header environments for SharePoint 2013: http://technet.microsoft.com/en-us/library/dn144963.aspx
How to: Set up an app catalog on SharePoint: http://msdn.microsoft.com/en-us/library/office/fp123530.aspx
Manage the App Catalog in SharePoint 2013: http://technet.microsoft.com/en-us/library/fp161234.aspx

The SharePoint 2013 March Public Update (or later) is required if:
You are using web apps or site collections with host headers (domain names / 'friendly' url's)
You have other server software installed on the SharePoint server that is using the Default Web Site (i.e. port 80/443)
You are not using port 80/443 for your web apps

For information on why the March Public update is required see: http://technet.microsoft.com/en-us/library/dn144963.aspx
See this link for information on how to reduce the 5 hours usually needed to install cumulative updates to 30 minutes.

For On-Premises SharePoint apps (which use server to server authentication) correct set up of the User Profile Service is required. It must also be correctly populated with the user’s information. See the Add the K2 App to the SharePoint Site section of the On-Premises Installation for more information.



 
Be the first to reply!

Reply