Is there any easy way to export certain content into a new instance of Umbraco. I have tried to create a package with the content tree I need but when I install I get an 'Object not set' error when trying to create content. I have added all the templates & doctypes it needs aswell but still the same error.
This could be the case. I'd try exporting from "further up the tree" and make sure you include all the required doctypes and necessary parent doctypes. Once you've got the content in you can always move nodes around to suit.
At this stage you're basically making a carbon copy of the site?
That is probably easier than going the package route and will preserve
nested document types (if you're currently using any), It's then just
a case of export db, zip up files and unzip/reimport/change connection string on your new server
Perhaps someone with more "packaging" experience could step up at this point to help out if this isn't your aim
Exporting content
Hi All,
Is there any easy way to export certain content into a new instance of Umbraco. I have tried to create a package with the content tree I need but when I install I get an 'Object not set' error when trying to create content. I have added all the templates & doctypes it needs aswell but still the same error.
Is there an easier way to do this?
Adrian
Creating a package should do it,so perhaps give more information about your approach to this to see if we can find out what's not working.
Alternatively, you could have a look at umbImport after setting up a macro to create an xml file from your chosen content.
Dan
Hi Dan,
I created a new package with the content I needed and the templates/document types and tried to install it on a fresh instance of Umbraco.
It creates the templates and doc types OK but looks like it fails when trying to add the content
Is it because the ParentId would be different?
This could be the case. I'd try exporting from "further up the tree" and make sure you include all the required doctypes and necessary parent doctypes. Once you've got the content in you can always move nodes around to suit.
Only thing up the tree is the home page! If I did export the home page do I need the homepage template and the master template?
Adrian
At this stage you're basically making a carbon copy of the site? That is probably easier than going the package route and will preserve nested document types (if you're currently using any), It's then just a case of export db, zip up files and unzip/reimport/change connection string on your new server
Perhaps someone with more "packaging" experience could step up at this point to help out if this isn't your aim
Hi Dan,
Yep that sounds like a step to far as I only need one section.
Thanks for your help on this
Adrian
Does anyone have any further ideas on this?
is working on a reply...