Microsoft Content Management Server - LastModifiedDate & RevisionDate differences?

This is Interesting: Free IT Magazines  
Home > Archive > Microsoft Content Management Server > June 2006 > LastModifiedDate & RevisionDate differences?





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 LastModifiedDate & RevisionDate differences?
Andy Stephens

2006-06-01, 1:15 pm

Hi all

I'm new to CMS and need to write an app that retrieves all postings modified
within a given date range. Can someone explain the differences between the
LastModifiedDate and RevisionDate properties of the Posting class, i.e. which
one I should use?

The app should also exclude postings that have been modified but not yet
approved. How would I go about this?

Many thanks in anticipation
Andy

Stefan [MSFT]

2006-06-01, 1:15 pm

Hi Andy,

the last modified date will show the date of the last modification.
The revision date will only show the date of the last approve.

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
Check out the new book as well: Advanced MCMS development:
http://tinyurl.com/8ugwj
----------------------


"Andy Stephens" <andrew.stephens@cheshire.gov.uk-donotspam> wrote in message
news:9568280B-0E1E-4A9C-8116-E22AE526E3B0@microsoft.com...
> Hi all
>
> I'm new to CMS and need to write an app that retrieves all postings
> modified
> within a given date range. Can someone explain the differences between the
> LastModifiedDate and RevisionDate properties of the Posting class, i.e.
> which
> one I should use?
>
> The app should also exclude postings that have been modified but not yet
> approved. How would I go about this?
>
> Many thanks in anticipation
> Andy
>



Stefan [MSFT]

2006-06-01, 1:15 pm

Hi Andy,

in addition: there is only one LastModifiedDate - but every revision of the
posting will have it's own revision date.
So you usually use the Revision Date when listing all historical revisions
of the postings.

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
Check out the new book as well: Advanced MCMS development:
http://tinyurl.com/8ugwj
----------------------


"Andy Stephens" <andrew.stephens@cheshire.gov.uk-donotspam> wrote in message
news:9568280B-0E1E-4A9C-8116-E22AE526E3B0@microsoft.com...
> Hi all
>
> I'm new to CMS and need to write an app that retrieves all postings
> modified
> within a given date range. Can someone explain the differences between the
> LastModifiedDate and RevisionDate properties of the Posting class, i.e.
> which
> one I should use?
>
> The app should also exclude postings that have been modified but not yet
> approved. How would I go about this?
>
> Many thanks in anticipation
> Andy
>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com