Publish a document in a Scheduled date and time

Sujith S B asked on February 15, 2016 13:38

Hi,

I have a document type 'Media' in my Kentico CMS and I want to implement the following scenarios on this document type. I would like to publish a document on a specific date. And I have founded an option on https://docs.kentico.com/display/K8/Scheduling+documents+for+publishing But it is not working for me.

I did following things.

  • Changed the content of an existing document (of type 'Media')
  • Changed the 'Publish From Date' to an upcoming date.
  • Saved the document.
  • Refreshed the document page from my website and I was able to see the changes.

My Expectation :- Need to see the given changes in my website only after that 'Publish From Date' (An upcoming date)

Could you please give me a solution for this issue?

All reply and help will be appreciable.

Thanks and Regards, Sujith

Recent Answers


David te Kloese answered on February 15, 2016 14:43

Hi,

Are you sure you tested your changes in a non-logged in context. If you fill publish from field with a date in the future it will not show anything until the page is published... At least if the webparts/code checks for the published state of the page.

Note: This functionality will let your page unpublished till the date is reached. You could also use Workflows so you have an published and zero or more unpublished versions. https://docs.kentico.com/display/K9/Configuring+workflows

David

1 votesVote for this answer Mark as a Correct answer

Brenden Kehren answered on February 15, 2016 15:03

I agree with David, make sure you log out or at least use the Preview mode.

So you're aware, if you have basic publishing workflow enabled what will happen is if you have a document type already published and make a change to it, then add a publish from and to date, the already published content will remain visible until the publish from date is reached and that new content is published.

Then assuming there isn't another version of the content, when the publish to date is met, the page will be unavailable or return a 404 when someone accesses it.

1 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.