|
Home > Archive > Microsoft Content Management Server > November 2005 > Get the TimeStamp for the latest Approval of a Posting
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 |
Get the TimeStamp for the latest Approval of a Posting
|
|
| Tony Fabian 2005-11-08, 6:21 pm |
| Hi,
Is there a way to find out when a Posting got approved?
Kind regards
Tony
| |
| Stefan [MSFT] 2005-11-08, 6:21 pm |
| Hi Tony,
sure: the CmsPosting_Approved event handler will be fired.
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
----------------------
"Tony Fabian" <tony@proactive.dk> wrote in message
news:%23ne2$7F5FHA.2524@TK2MSFTNGP10.phx.gbl...
> Hi,
>
> Is there a way to find out when a Posting got approved?
>
> Kind regards
>
> Tony
>
| |
| Tony Fabian 2005-11-08, 6:21 pm |
| Hi Stefan,
Sure I knew that :-)
But if you have a Posting e.g. found by doing a Searches is there a way to
get the time the Posting was last approved.
Time of approval isn't allways the same a StartDate and LastModifiedDate so
i cant use that.
Kind regards
Tony
"Stefan [MSFT]" <stefang@online.microsoft.com> wrote in message
news:eOUgVNG5FHA.2560@TK2MSFTNGP12.phx.gbl...
> Hi Tony,
>
> sure: the CmsPosting_Approved event handler will be fired.
>
> 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
> ----------------------
>
>
> "Tony Fabian" <tony@proactive.dk> wrote in message
> news:%23ne2$7F5FHA.2524@TK2MSFTNGP10.phx.gbl...
>
>
| |
| Stefan [MSFT] 2005-11-08, 6:21 pm |
| Hi Tony,
you could look at the RevisionDate property.
A new revision is created when a posting is approved or when a resource used
by the posting is updated.
To retrieve only the revisions generated through an approve use the
"Revisions" method of the Posting object you need to call the Revisions
method with the following parameters: "(true, false)"
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
----------------------
"Tony Fabian" <tony@proactive.dk> wrote in message
news:uC1bnWG5FHA.3636@TK2MSFTNGP09.phx.gbl...
> Hi Stefan,
>
> Sure I knew that :-)
>
> But if you have a Posting e.g. found by doing a Searches is there a way
> to get the time the Posting was last approved.
> Time of approval isn't allways the same a StartDate and LastModifiedDate
> so i cant use that.
>
> Kind regards
>
> Tony
>
>
> "Stefan [MSFT]" <stefang@online.microsoft.com> wrote in message
> news:eOUgVNG5FHA.2560@TK2MSFTNGP12.phx.gbl...
>
>
|
|
|
|
|