Skip to main content
Nintex Community Menu Bar
Solved

Configure SharePoint references in deployment configuration file using PowerShell

  • December 2, 2019
  • 5 replies
  • 6 views
  • Translate

Hi, I looking for a automated way to deploy K2 Five package. Is there possible I configure the SharePoint artifacts with PowerShell? e.g. configure SharePoint reference to select the site library. 

Regards,

Eric

Best answer by Sunrise

Hi Eric


 


Please see answes your questions below.


Is there other ways that we can automate the package deployment that containing SharePoint artifacts? No. Deploy K2 Packages Using PowerShell: https://help.k2.com/onlinehelp/k2five/userguide/5.3/default.htm#PackageAndDeploy/Powershell-Automated-Deployment.html.


The following were read from the guide above:



  1. You cannot deploy packages containing SharePoint artifacts with the Powershell snap-in, you must use K2 Package and Deployment.


Also, can PowerShell automate the steps of create package? No. Cannot automate Package and Deployment: https://help.k2.com/kbs100174.


The following were read from the guide above:



  1. Package creation can only be done through the K2 Package and Deployment interface.

  2. We also have a feature request submitted in ideas.k2.com to automate K2 Package and Deployment. Please vote for the following idea to increase the likelihood of implementing this feature in a future update of K2:


https://ideas.k2.com/ideas/APIT-I-224.


 


Best,


Sunrise

View original
Did this topic help you find an answer to your question?

5 replies

Forum|alt.badge.img+9
  • 266 replies
  • December 2, 2019

  • 151 replies
  • December 2, 2019

Good day EricLee,


 


You can use the PowerShell snap-in to automate the deployment of package files (*.kspx) to target environments. This may be especially useful where it is necessary to make regular or frequent package deployments, or where script-based installations and updates are preferred.
*The PowerShell snap-in functionality cannot be used to create packages, but only to deploy ones you create using K2 Package and Deployment.


Please refer the help guide below for more information:
http://help.k2.com/onlinehelp/k2five/userguide/5.1/default.htm#packageanddeploy/powershell-automated-deployment.html


 


Please see the following links as well for additional information:


https://community.k2.com/t5/K2-Blog/K2-Package-and-Deployment-Deploy-with-PowerShell/ba-p/111625


 


Kind regards,


Dumisani

Translate

  • 173 replies
  • December 2, 2019

Good day EricLee


 


Please note that you cannot deploy packages containing SharePoint artifacts with the Powershell snap-in, you must use K2 Package and Deployment.


See the following.


Deploy K2 Packages Using PowerShell: https://help.k2.com/onlinehelp/k2five/userguide/5.3/default.htm#PackageAndDeploy/Powershell-Automated-Deployment.html, https://help.k2.com/onlinehelp/k2blackpearl/userguide/4.7/default.htm#PackageAndDeploy/Powershell_Automated_Deployment.html.


 


Best,


Sunrise  

Translate

  • Author
  • 5 replies
  • January 7, 2020

Hi  @Sunrise, 

 

Noted that we cannot deploy packages containing SharePoint artifacts with the Powershell snap-in, is there other ways that we can automate the package deployment that containing SharePoint artifacts?

Also, can Powershell automate the steps of create package? 

Thank you,

Eric

Translate

  • 173 replies
  • Answer
  • January 7, 2020

Hi Eric


 


Please see answes your questions below.


Is there other ways that we can automate the package deployment that containing SharePoint artifacts? No. Deploy K2 Packages Using PowerShell: https://help.k2.com/onlinehelp/k2five/userguide/5.3/default.htm#PackageAndDeploy/Powershell-Automated-Deployment.html.


The following were read from the guide above:



  1. You cannot deploy packages containing SharePoint artifacts with the Powershell snap-in, you must use K2 Package and Deployment.


Also, can PowerShell automate the steps of create package? No. Cannot automate Package and Deployment: https://help.k2.com/kbs100174.


The following were read from the guide above:



  1. Package creation can only be done through the K2 Package and Deployment interface.

  2. We also have a feature request submitted in ideas.k2.com to automate K2 Package and Deployment. Please vote for the following idea to increase the likelihood of implementing this feature in a future update of K2:


https://ideas.k2.com/ideas/APIT-I-224.


 


Best,


Sunrise

Translate

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings