K2 blackpearl Product Documentation: Installation and Configuration Guide
Configure Environment Library

Configure Environment Library

It is necessary to update the environment library connection strings for all fields except Mail Server and Web Service URL. You can update these in K2 Workspace or from K2 Studio or K2 for Visual Studio.

Method 1 – Using K2 Workspace

Follow the steps below to change the connection string for the Environment Library :

  1. Open K2 Workspace
  2. Select Management > Management Console
  3. Browse to Environment Library > Templates > Default Template > Environments > [Development, Production or other environment > Environment Fields
  4. Select the Category Server and click Edit
     

  5. Change the connection string in the Field Value to :
    Copy Connection String
    Integrated=False;IsPrimaryLogin=True;Authenticate=True;EncryptedPassword=False; Host=localhost;Port=5555;UserID=k2;Password=k2;SecurityLabelName=[K2SQL];AuthData=1
    The SecurityLabelName in the connection string is the SQL user manager name. Substitute the placeholder value [K2SQL] with the correct value for your system.
     

  6. Repeat steps 4 and 5 for each of the following environment fields:
    1. Category Server
    2. ServiceObject Server
    3. SmartObject Server
    4. Workflow Management Server
    5. Workflow Server (note the port number is 5252 by default, not 5555 like the other fields)

Method 2 - K2 Studio or K2 for Visual Studio

Follow the steps below to configure the environment fields in K2 Studio or K2 for Visual Studio:

  1. Open K2 Studio or the K2 Designer for Visual Studio
  2. Open the K2 Object Browser
  3. Expand the Category Server(s)
  4. Right-click on Category Server and select Edit Field…
  5. Change the connection string to the following:
Copy Connection String
Integrated=False;IsPrimaryLogin=True;Authenticate=True;EncryptedPassword=False; Host=localhost;Port=5555;UserID=k2;Password=k2;SecurityLabelName=[K2SQL];AuthData=1
The SecurityLabelName in the connection string is the SQL user manager name. Substitute the placeholder value [K2SQL] with the correct value for your system, for example K2SQL.
  1. Repeat steps 4 and 5 for each of the following servers in the K2 Object Browser:
    1. Category Server
    2. ServiceObject Server
    3. SmartObject Server
    4. Workflow Management Server
    5. Workflow Server (note the port number is 5252 by default, not 5555 like the other fields)

 

 


K2 blackpearl Product Documentation: Installation and Configuration Guide 4.6.10