Get the TimeStamp for the latest Approval of a Posting
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Microsoft Content Management Server > Get the TimeStamp for the latest Approval of a Posting




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Get the TimeStamp for the latest Approval of a Posting  
Tony Fabian


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
11-08-05 11:21 PM

Hi,

Is there a way to find out when a Posting got approved?

Kind regards

Tony







[ Post a follow-up to this message ]



    Re: Get the TimeStamp for the latest Approval of a Posting  
Stefan [MSFT]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
11-08-05 11: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
>







[ Post a follow-up to this message ]



    Re: Get the TimeStamp for the latest Approval of a Posting  
Tony Fabian


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
11-08-05 11: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... 
>
>







[ Post a follow-up to this message ]



    Re: Get the TimeStamp for the latest Approval of a Posting  
Stefan [MSFT]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
11-08-05 11: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... 
>
>







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 03:19 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register