Get the TimeStamp for the latest Approval of a Posting
Windows Server Forum Index Windows Server
Server discussion on Windows platform.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web winserverhelp.com
Get the TimeStamp for the latest Approval of a Posting

 
Post new topic   Reply to topic    Windows Server Forum Index -> CMS Server
Author Message
Tony Fabian
Guest





Posted: Tue Nov 08, 2005 1:50 pm    Post subject: Get the TimeStamp for the latest Approval of a Posting Reply with quote

Hi,

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

Kind regards

Tony
Back to top
Tony Fabian
Guest





Posted: Tue Nov 08, 2005 1:50 pm    Post subject: Re: Get the TimeStamp for the latest Approval of a Posting Reply with quote

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...
Quote:
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


Back to top
Stefan [MSFT]
Guest





Posted: Tue Nov 08, 2005 1:50 pm    Post subject: Re: Get the TimeStamp for the latest Approval of a Posting Reply with quote

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...
Quote:
Hi,

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

Kind regards

Tony
Back to top
Stefan [MSFT]
Guest





Posted: Tue Nov 08, 2005 5:51 pm    Post subject: Re: Get the TimeStamp for the latest Approval of a Posting Reply with quote

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...
Quote:
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...
Hi,

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

Kind regards

Tony




Back to top
Tony Fabian
Guest





Posted: Tue Nov 08, 2005 5:51 pm    Post subject: Re: Get the TimeStamp for the latest Approval of a Posting Reply with quote

Thanks :-)

"Stefan [MSFT]" <stefang@online.microsoft.com> wrote in message
news:u9ekYHH5FHA.3112@TK2MSFTNGP10.phx.gbl...
Quote:
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...
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






Back to top
 
Post new topic   Reply to topic    Windows Server Forum Index -> CMS Server All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




New Topics Powered by phpBB