Import Package Configuration (Solution Merge) feature gives the possibility to import (merge) configuration from another solution into the current one.
If you've built a solution, you may want to use some package elements from another existing solution. With this feature, you can easily build SharePoint solutions based on the packages from other solutions in the Teamsware Studio.
The Import Package Configuration feature is available on the Command Bar in Teamsware Studio.
To import any configuration you need to choose the source solution and the package you want to import into the current solution. Before merging make sure you have the package of the source solution you want to merge.
NOTE: Make sure your current solution has the latest version. Before importing the package you need to update the solution.
On the wizard you can manage which package elements you want to include/exclude in the import. 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. ).
- Prevent overwriting display name: This option is available only for the list/libraries Fields node and Site Field node.
- Force update (overwrite all): You can overwrite configuration of the certain node on the context menu (right-click) or the whole package.
- Reset: You can revert the changes to the original state in the package.
When you made some changes in the wizard before the starting the import/merge process you need to restart verification to make sure there are no conflicts, etc.
During the verification process you can face with the conflicts related to the same names lists/libraries in the current solution and the package you merge, lookups, data lookups, background features etc. that should be resolved before merging. If the source solution contains background feature, you will need to trust app principal permissions for executing Background Features on your SharePoint site.
Other conflicts you can resolve by unselecting the conflicts package node or use Force update option. Force update option will overwrite configuration of the certain node.