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
With uSync you can trigger the export from code with
Is there a way to do the same with uSync content edition?
for a Content Export you need to export content and media
ContentExporter cw = new ContentExporter();
int contentCount = cw.ExportSite(false);
MediaExporter me = new MediaExporter();
int mediaCount = me.Export();
this is the code behind the button on the UI
I also had a quick look round the code and it doesnt appear like the usync folder is emptied before regenerating.
I am using this in a build process im setting up so it feels right to clear the folder out before exporting everything.
No issues with doing that is there? Cant think of any.
Im thinking maybe on the lines of maybe someone created an item by accident and then deleted it. I don't want this item getting pushed to a staging server. So if i clear down before i export everything i will have a clean set of files.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted