Selective Deployment

Selective Deployment

Selective Deployment feature

Package & Publish is a SharePoint provisioning feature provided by Teamsware Studio that allows you to deliver your custom SharePoint solution from development to production. With this feature, you can package lists and libraries, customizations, etc., and deploy them to any target site regardless if they are in the same or different environment. A simple and user-friendly interface in Teamsware Studio allows users to easily manage the deployment and update process. 

During the deployment process, for some occasion user may need to deploy certain solution elements to different customer environments. The Selective Deployment feature gives you a great possibility to manage which solution elements will be published during deployment (or update deployment) to the target site, instead of deploying everything included in the package. This option will let user be more flexible and keep up with customer demand.

NoteThe Selective Deployment feature is available only for the ‘Direct to SharePoint site' publish method in Solution Studio.

The Selective deployment process has some specifics which are described in this article. The Selective deployment is available on the Verification step during deployment process. On the "Publish" tab start the deployment process and choose ‘Direct to SharePoint sitepublish method. Start the Verification process.

After the successful Verification step, there are two options for deployment: 'Full Deployment' and 'Selective Deployment'. The 'Full Deployment' option is selected by default and it deploys all solution elements in the package to the target site.



To use the Selective Deployment option select the second option and click on the Next button.

Note: If you choose 'Selective Deployment' during the first deployment process, it will be selected automatically during the further update deployment process. You can always switch to the Full Deployment option, the confirmation message will appear.





The Selective deployment wizard displays all solution elements included in the package as a hierarchical checkbox tree with expanding and collapsing nodes that contain nested nodes. 

Managing options

On the wizard you can manage which package elements you want to include/exclude from the deployment. You have a several options to do that: 

 - Check/Uncheck package element (node):

You can check or uncheck the whole parent node (list or library, Site Navigation, Site Settings, etc) or you can also check/uncheck only some child node (certain fields, field settings, view, etc ).  

Note: During the next deployment update, an unchecked node will remain unchecked until a change is made to the node. If there are changes, the node will be checked automatically.





- Include/Exclude from deployment(s) option:

You can include/exclude the package element. Excluded package element will be not published to the target site. Here you can also include/exclude or whole parent package element or its child package element. 

Note: During the next deployment update, this node will remain excluded by default and all changes in this package element will not be detected until you manually include it. Also, Force Update and Reset options don't affect excluded nodes.




The excluded node is marked with a specific icon. 


- Prevent overwritting display name: This option is available only for the list/libraries Fields node and Site Field node.

- Force update (overwrite all): You can overwrite changes certain node on the context menu (right-click) or the whole structure.

- Reset: You can revert the changes to the original state in the package.

When you made some changes in the Selective deployment wizard before the starting the deployment process you need to restart verification to make sure there are no conflicts, etc.





Resolve conflicts

During the publishing process, the system compares changes in the previous package with the current package. Also, changes made in the target site are detected. If there are some changes, the user will see them in the Selective deployment wizard after the verification.
In some cases, the changes made in the package or made in the target site can cause conflicts that should be resolved. For example, conflicts related to the lookup, data lookup, and cross-site fields, conflicts related to the adding/renaming fields in the lists/libraries, removed lists/libraries, etc.

Note: Some conflicts can be resolved automatically, and some conflicts should be resolved manually. The ways you can resolve a conflict - to use the 'Force update' option or to uncheck the conflict package node or in some cases, you need to make changes on the source/target site and restart verification again.




Usability features

  • Search - looking for an package element just search for it.
  • Filtering - you can filter package elements (Shows errors & conflicts only, Show exсluded only, Show do not overwrite fields display names only).
  • Info icons - Info icon is shown in a case the node is excluded, disabled or has some conflicts, etc. 
  • Right mouse click - Right mouse click opens the context menu with the managing options.


    • Related Articles

    • Teamsware Studio Update 27.04.2023

      New features Selective Deployment Selective Deployment feature is available only for the ‘Direct to SharePoint site' publish method in Solution Studio on the Verification step. The Selective deployment wizard displays all solution elements included ...
    • Teamsware Studio API Deployment

      Note: To use the Teamsware API deployment check your tenant settings and allow custom app authentication as described here What is API deployment API deployment is a type of publishing, that allows starting deployment process with HTTP call ...
    • Teamsware Studio Update - 23.11.2023

      Bug fixes & improvements Modern Forms Version 1.3.38 Allowed sending attachments with total size more than 3 MB in the Send email action. Note: It is required to approve API access request with 'Mail.ReadWrite' permissions Supported OneNote notebook ...
    • Teamsware Add-in deployment - 'Add-in is not trusted' error when navigating to home page

      This article helps to resolve an issue with "Add-in is not trusted, you should trust it before you can use it" when navigating to installed add-in home page. Mostly this message appears for new tenants. It means, that add-in you want to use to deploy ...
    • Debug mode

      This feature allows you to debug your complex configured actions and check inputs/outputs in the console on the SharePoint runtime. In order to use Debug mode you need to enable this option in the design time, go to SharePoint runtime, open console ...