Saturday, 21 July 2018

Creating and Installing Sitecore packages programmatically

We can create and save a Sitecore packages on disk using code.
Following method takes List of items as an input parameter and can be used to package the supplied items:

Note: The above code will create the package for you in the C drive/ Data folder.



Also, in continuation if we want to install a Sitecore package programmatically we can refer to the following method:


No comments:

Post a Comment