You'll learn how to take a K2 solution from one list or library in SharePoint and deploy it to a different list or library that has the same structure. This article uses a library as the example but the same principle applies to a SharePoint list.
Below are two scenarios that detail how deploying a solution across multiple lists or libraries can be achieved.
You develop a K2 solution with Forms, SmartObjects, Views and Workflows for one SharePoint document library that can reused across multiple libraries. You use K2 Package and Deployment to package the solution from the first library and deploy it to the rest of the libraries. Each library has the exact same structure.
Follow the steps below:
For detailed steps on creating and deploying a K2 package, see the Create and Deploy a K2 Package section.
You need a SharePoint site with particular lists and libraries as well as K2 integration such as Forms, SmartObjects, Views and Workflows that can be reused across other SharePoint sites . You use the Save As Template feature in SharePoint along with K2 Package and Deployment.
|Note: It is important to note that saving a site via the Save As Template feature requires manual configuration with K2 4.6.11 and earlier. See KB001619 for more information.|
For K2 4.7, follow these steps:Save the site as a site template.
|Note: Make sure that 3rd party apps are removed prior to creating the site template as this may prevent you from creating the site template.|
For detailed steps to create and deploy a K2 package, see the Create and Deploy a K2 Package section.