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
I have the following controller in my umbracosite. I call the page in question whenever I want to manually trigger an import.
public class ImportPage: BaseRenderController
public override ActionResult Index(RenderModel model)
var uSyncBackOffice = uSyncBackOfficeContext.Instance;
var actions = uSyncBackOffice.ImportAll();
The call seems to work fine as I get an action-list back which lists every action. However, when I open BackOffice, I see now new log entry. I checked "/app_data/temp/usync" and no new entry was there either.
Why is this? Does this mean that the sync for some reason wasn't successful or simply that the ImportAll() doesn't care to create a log entry. If not, which method in the usync api can I call to do this manually?
yeah the log is written out directly by the call to import all (it probibly should be)
however if you have the actions
will save it. usally i check for any real 'change' actions before firing it.
if (setupActions.Any(x => x.Change > ChangeType.NoChange))
Right, I'll try that. Thanks! I wasn't aware that Usync only creates a log when there's been an actual change, so I'll verify to make sure that isn't the reason.
Write your reply to:
Image will be uploaded when post is submitted