Skip to main content


 

Symptoms


how to use the k2 deployment package from a dev machine
 

Diagnoses


We currently have a development blackpearl server while all developers working with K2 have only the K2 for Visual Studio and K2 Setup and Deployment pieces on our individual machines. In the past, we have used the "Deploy" feature from Visual Studio to deploy workflows and smartobjects (attached). We would like to start using the K2 Package and Deployment Tool. We've used this when deploying from the development to test to production environments, but not from a developer's machine to the blackpearl development environment. Can you tell me how to go about deploying a workflow/smartobject from a developer's box to a blackpearl server since the developers' machines are not blackpearl servers?
 

Resolution

The Package and Deployment tool is used for deploying only .kspx files and a .kspx file type can only be created via the Package and Deployment tool while pointing to a source environment where the process/smartobject had already been deployed to the server/database (the package and deployment tool retrieves the latest version of the process/smartobject/smartforms from the K2 database).

I believe the intention of the Package and Deployment tool was for deployment of an object and its dependencies between K2 servers. The only way of deploying a local (.kprx/.sodx) file from a developer client tools only machine to the K2 server/database is via using the designers itself (K2 Studio, K2 Designer, K2 for Visual Studio) or possible through the use of MSBUILD deployment:

http://help.k2.com/kb000188




 
Be the first to reply!

Reply