Hi, I have two umbraco websites and I would like to export some content from the first site and import it to the other one.
In addition, the content from the first site uses a DocumentType A and I would like to import this content to the second site into a DocumentType B, so I'd like to map the properties during the import.
Moreover, my content includes some media... Have you any idea how to include these media in the export data, in order to import them automatically into the second site? My data is large enough so it would be difficult to re-upload all these media one by one and match the with the according content.
We use CMSImport package - it's very user friendly and should allow you to map everything over.
Mapping images can be an issue.
We have solved it in the past by creating a label property on the new doctype then copy across the media url to this property adding '/old_media/' before the string.
Now you can copy the old media folder to the new site and rename it 'old_media'. In the razor just query if your new label property has a value then use the image url from there otherwise use the other property.
Export content with media
Hi, I have two umbraco websites and I would like to export some content from the first site and import it to the other one.
In addition, the content from the first site uses a DocumentType A and I would like to import this content to the second site into a DocumentType B, so I'd like to map the properties during the import.
Moreover, my content includes some media... Have you any idea how to include these media in the export data, in order to import them automatically into the second site? My data is large enough so it would be difficult to re-upload all these media one by one and match the with the according content.
Thank you in advance
We use CMSImport package - it's very user friendly and should allow you to map everything over.
Mapping images can be an issue.
We have solved it in the past by creating a label property on the new doctype then copy across the media url to this property adding '/old_media/' before the string.
Now you can copy the old media folder to the new site and rename it 'old_media'. In the razor just query if your new label property has a value then use the image url from there otherwise use the other property.
Hope that helps/gives you some ideas.
is working on a reply...