Adding a new Site Collection after K2 Integration
After integrating K2 with a SharePoint environment, you can integrate new site collections with K2.
Scenario
After a SharePoint environment is integrated with K2, you create a new site collection using the SharePoint Admin Center. You now need to integrate this new Site Collection with K2.
Steps
- After creating the new site collection, open the app catalog site.
- Navigate to the K2 app via the following path on the app catalog site: Site Contents > K2 .
- On the App Catalog > K2 for SharePoint page, click on the Manage App Deployments (SharePoint) link.
- Add the newly created site collection URL to the Enter a site collection to deploy to: section and click the Add button.
- Next click the OK button.
- Next click on the K2 app in the app catalog's Site Contents section.
- On the App Catalog > K2 for SharePoint page, click the Manage App Activations link.
- On the App Catalog > K2 for SharePoint > Settings > Manage App Activations page, add the new Site Collections URL to the Specify a site collection URL: section and click the Activate button.
- The Activate Site Collections page opens, and the Activation wizard runs. Once complete, click the Close button.
- The app is activated on the new site collection. Click the Close button.
Adding a new Subsite to a Site Collection after K2 Integration
At activation time, existing subsites in the site collection are activated with K2 for Sharepoint. New subsites that are added at a later point, either manually or via a K2 workflow, are also activated with K2 for SharePoint through the remote event receivers. This automatic activation may take a few minutes depending on your SharePoint environment. SharePoint Online instances do NOT include the remote event receiver, and so do not get K2 for SharePoint automatically added to new subsites. For SharePoint Online you must reactivate the site collection using the Manage App Activations page, which finds the new subsites and activates them.
Scenario
When a new subsite is created on a site collection that is already integrated with K2, you want to enable K2 integration on the subsite.
Steps
Adding a new subsite to site collection after K2 integration can be done in two ways:
- For information on managing the K2 app at app catalog level see the management topic.
- For information on managing the K2 app on a site collection level see the management topic.