Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
So, taking a step further in uSync.
I'm trying uSync.ContentEdition to export/import content between environments.
As far as I tried for now, it exports all of the content, including data.
i.e : if I have a "Home" page with a title, and a description wich I fill with lorem, it will export the lorem too.
So question is : is there a way to export the page, with it's doctypes structure, but not the data stored in fields? So I could import all the site structure in Staging environment, but with no fake data so the site would be all good to setup with the real data without having to clean everything before ?
There is no inbuilt way in uSync to separate the pages from their content, you could in theory run the resulting .config files through something to remove all the properties.
so the content is stored in the properties of a .config file.
<footerAddress><![CDATA[Umbraco HQ - Unicorn Square - Haubergsvej 1 - 5000 Odense C - Denmark - +45 70 26 11 62]]></footerAddress>
<footerCTACaption><![CDATA[Read All on the Blog]]></footerCTACaption>
maybe you could do some xslt thing (not my strong point at all) to remove the values ? so you ended up with something like :
but this would only work if the properties weren't mandatory, as putting blank values in would likely make the save process fail when it validated the content.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted