What is the best way to deploy changes from development to staging. I have made huge changes in the code, and I know how to deploy that, just change the bin folder. I have also made changes in the Views folder, so I can also change that. I could just publish everything and it can be done automatically.

But what about templates and renderings? How can I change that, without adding them manually to the staging environment? That would be ridiculous, I think most of you can agree on that. Both develop, and staging environments are using different databases, so is there maybe a SQL query, so I can deploy those templates and everything else with that. Again that is manually adding stuff, but I feel like it is much easier for me.

Anybody has any tips on how to do this?

1 Answer 1


There are few tools which can be helpful in this case:

In general the idea is to serialize a set of items which you are working on (not entire database) to disk as text files. This will allow you to version them using git, make them a part of the deployment package and install them on the staging server.

The method itself is different depending on which tool would you like to use.

Additionally you can move items between different environment using packages. You can create a package with items from the Desktop view enter image description here You have to select the items or entire item branches and include them in the package. Once all your items are included, you can download the package and install it on any other instance.

Please note that unlike the tools used to serialize the items it is hard to version the items when they are exported as a package or automate the whole process. On the other hand you can create such a package quite fast and it is available out of the box in any version of Sitecore.

  • Thank you so much for this informations. This will 100% help me make this deployment easier
    – Samke11
    Apr 6, 2022 at 13:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.