|
Home > Archive > Microsoft Content Management Server > August 2005 > Event when posting expire
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Event when posting expire
|
|
|
| Hi
I want to do something when a posting expire,
I have tried with events like CmsPosting_Changed that
i use in global.asax, but when i change de stop publishing
state to make it expire, the posting is always in waiting for
approval state on CmsPosting_Changed . I want to know if
there is any way to do somthing in the moment that the
posting expire.
thks Diego.
| |
| Stefan [MSFT] 2005-08-10, 8:48 pm |
| Hi Diego,
there is no event as the posting is not modified.
If a posting is expired or not is detected when the item is requested: the
system dynamically compares the expiration date with the current date.
So there is technically no way to get an event here.
What you could do is to implement a custom workflow event that tracks the
property changes and writes the info to a SQL database. Then implement your
own notification mechanism based on this external datasource.
Cheers,
Stefan
--
This posting is provided "AS IS" with no warranties, and confers no rights
New to MCMS?
Check out this book: Building Websites Using MCMS: http://tinyurl.com/6zj44
----------------------
"Diego" <Diego@discussions.microsoft.com> wrote in message
news:576C1E17-A4F0-4A42-BE08-32C057CFDE89@microsoft.com...
> Hi
> I want to do something when a posting expire,
> I have tried with events like CmsPosting_Changed that
> i use in global.asax, but when i change de stop publishing
> state to make it expire, the posting is always in waiting for
> approval state on CmsPosting_Changed . I want to know if
> there is any way to do somthing in the moment that the
> posting expire.
>
> thks Diego.
|
|
|
|
|