Removing obsolete items in Sitecore Package Designer

Posted 5 March 2015 12:00 AM by Alan Yip, Senior Sitecore Consultant @ ClearPeople

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!

Share:

Add your comment

 
 

 

Archive

Tagcloud

emplyee engagement staff satisfaction productivity Microsoft Teams Office 365 Yammer cms content management system agile GDPR Microsoft Graph collaboration Microsoft sharepoint 2016 upgrade migration SharePoint Online 2016 Tech Trends Digital Disruption Context marketing marketing SharePoint 2010 SharePoint 2013 TFS Git security kentico Analytics intranet jquery QA Quality Assurance testing digital workspace content management websites Sitecore sitecore marketplace sitecore module cloud Microsoft Cloud Storage digital strategy technical consulting sitecore modules Experience database Sitecore 7 Sitecore 8 support account management customer experience Data Storage windows azure cms integration front end front end development prototype Cloud Storage StorSimple Front-end Development Layout SharePoint 2013 colour palette UI design website design log viewer sitecore cms website Azure big data business-critical sharepoint accessibility android apple chrome clear people clearpeople debug emulator ios mobile testing opera resize adobe desktop flash ie10 internet explorer 10 metro windows 8 bcsp SharePoint Advanced System Reporter reporting framework ControlMode form control master page placeholder publishing console SharePoint 2007 SharePoint error search search results search values software testing testing scenario audit content information architecture retention schedules PowerShell QuickLaunch scripts SharePoint server 2010 business solutions metalogix replication replicator storagepoint stena technet UK Technet picture library slideshow web part RTM released to manufacturing caml caml query MOSS 2007 query infopath