1

With Sitecore Publishing Service installed, is it possible to have scheduled publishes. How can do add our custom schedule to the Publishing queue of Publishing Instance.

  • 1
    You can use the default Sitecore Publishing agent (Sitecore.Tasks.PublishAgent). It will use the Publishing service. – Hishaam Namooya May 29 '18 at 9:30
1

You can use the default Sitecore Publishing Agent. It is found in the Sitecore.config. You can search for it by using Sitecore.Tasks.PublishAgent.

You just need to configure the source and target database (default: master and web). I had asked the same question to Sitecore Support and their response was that the methods from the Sitecore.Publishing.PublishManager class to perform new publishing.

For an example:

PublishManager.PublishSmart(database, targets, languageArray);
PublishManager.PublishIncremental(database, targets, languageArray); 

In Sitecore 8.2 Update -2 default PublishAgent works fine and calls the new Publish Module.

  • Is it possible to have a similar agent on the publishing service "application"? I mean, I want to be sure that the publishing service publishes even if the content manager is down. – Vicent Galiana Sep 20 at 14:32
  • Yes it is possible but you’ll need to write custom code. I would suggest to use hangfire – Hishaam Namooya Sep 20 at 14:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.