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.
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.
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
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.
is working on a reply...