Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Tom Maton 387 posts 660 karma points
    Jun 23, 2010 @ 12:55
    Tom Maton
    0

    Change page data using API on a scheduled time

    Hi All,

    I've been asked by a client to see if its possible to do the following: (I believe it can but just want to double check).

    We want to be able to change the true/false in the page data when a date eg display this news article on home page and set a date and time for the period to display it there, once reached it will change the "display on homepage" true/false to false within the page data.

    So I would want to do a check every so often to see if the end date of a page has been reached.

    I would use the Live and End dates in the properties but this makes the pages publish and unpublish when the dates have reached so we couldn't use that.

    Thanks

    Tom

  • Jeff Grine 149 posts 189 karma points
    Jun 23, 2010 @ 15:06
    Jeff Grine
    0

    You could set up a web service that would check the date and update your display field. Then you could schedule an executable that will hit that web service however often you need to check the date.

Please Sign in or register to post replies

Write your reply to:

Draft