Does anyone have a code snippet or information for creating a Sitecore package from serialised .item files? Other requirements are that this needs to be accomplished without a Sitecore context or access to any of the Sitecore databases.
Asked
Active
Viewed 721 times
2
-
2I've answered a similar question here: http://stackoverflow.com/questions/8414482/is-it-possible-to-build-a-sitecore-data-package-from-command-line-or-outside-of – Sean Kearney Mar 20 '13 at 18:53
-
Thanks Sean. I've spent quote a lot of time looking at the `Sitecore.Install` namespace and have got the simplest possible example working without a Sitecore context or database connection. All of the more fully formed examples like `Sitecore.Rocks.Server.Packages.PackageBuilder` make API calls a that rely on a context database. If there's no examples already out there I'll persevere with building my own. Thanks again. – Kevin Obee Mar 20 '13 at 19:22
-
You may want to look into generating "Update Packages" rather than classic packages. They can be generated outside of a web context using the .item files. Something worth investigating is https://sitecorecourier.codeplex.com/ – Sean Kearney Mar 20 '13 at 19:25
1 Answers
4
Check out Sitecore Courier Shared Source module. It simply compares two folders with serialized items and creates a diff package.

Alexander Doroshenko
- 1,715
- 1
- 17
- 24
-
Thanks Alexander. Liked the module so much that I've forked it on Github. Great work. – Kevin Obee Mar 22 '13 at 17:51