X
Closing this message and/or accessing our website tells us you are happy to receive all cookies on the ClearPeople website.
However, if you would like to, you can change your cookies settings at any time.
ClearPeople's guide to Sitecore Package Designer to package, transfer and remove obsolete items
Sitecore’s Package Designer is a very useful tool for packaging Sitecore items and transferring these between different environments.
There is a very useful feature in there where you can store the structure of these items in a definition file as XML. This can then be stored somewhere and later ran against the latest content tree or wherever you decide to generate the content from and a new package is then created.
In one of my latest projects, I had to do a migration of content from one environment to another. This was not a simple straight forward migration, but that is something else.
I was in continuous communications with the clients’ developer and they were responsible for creating these packages. Now as most projects go, there will always be obstacles in the way and this project was no different.
The developer had generated the structure of the content into a definition file which was going to be used for the real content packaging, but as time went by, the actual packaging of the content didn’t actually happen until a few months later in which case, we all know content comes and goes.

Yes you’ve guessed it, when I tried to generate the content, I got the nice “Package generation failed…” error!

package failed 

 

 
But luckily, I found a nice little gem that was to become my lucky charm and that was the “Remove obsolete” button!

 
This button removes any items that don’t exist in your current Sitecore tree thus making the creation of your package possible!

NOTE: After pressing this button, it doesn’t save a copy of the updated XML definition so it’s entirely up to you how you want to manage this.
Happy packaging!
 

Author bio

cplogo
Alan Yip
Senior Sitecore Consultant
Alan is a Senior Sitecore Consultant

Comments


comments powered by Disqus

Related Articles

Sign up to our Newsletter

Every now and then, we'd like to send you information that delivers, develops and promotes our products and services that are relevant to you. Submitting your details tells us that you're OK with this and you also agree to our Privacy & Cookies policy. You can, of course, opt out of these communications at any time.