Posting Archive
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 > Posting Archive




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

    Posting Archive  
fmakopo@investec.co.za


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


 
06-21-06 06:18 PM

I am having problem with my CMS website. All i want to do is to archive
all the posting information after the expiry date or email the posting
information after the expiry date






[ Post a follow-up to this message ]



    Re: Posting Archive  
Stefan [MSFT]


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


 
06-22-06 12:17 AM

Hi,

what you could do is to run a script on a scheduled basis that enumerates
all postings and checks if they are expired.
Then move them to an archive channel and export this channel using SDAPI.

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
----------------------


<fmakopo@investec.co.za> wrote in message
news:1150894878.212106.54740@m73g2000cwd.googlegroups.com...
>I am having problem with my CMS website. All i want to do is to archive
> all the posting information after the expiry date or email the posting
> information after the expiry date
>







[ Post a follow-up to this message ]



    Re: Posting Archive  
fmakopo@investec.co.za


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


 
06-22-06 06:22 PM

Hi Stefan
I am new to cms can you please explain more of what must i do.
If possible can you give an example of what must i do or source code.
Stefan [MSFT] wrote:[vbcol=seagreen]
> Hi,
>
> what you could do is to run a script on a scheduled basis that enumerates
> all postings and checks if they are expired.
> Then move them to an archive channel and export this channel using SDAPI.
>
> 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[/url...nyurl.com/8ugwj
> ----------------------
>
>
> <fmakopo@investec.co.za> wrote in message
> news:1150894878.212106.54740@m73g2000cwd.googlegroups.com... 






[ Post a follow-up to this message ]



    Re: Posting Archive  
Stefan [MSFT]


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


 
06-22-06 06:22 PM

Hi,

you need to write a console application that uses the CmsApplicationContext
and iterates through all channels and postings in the site and checks the
state property of the posting.
If the state is PublishingState.Expired the application needs to use the
MoveTo method of the posting to move the item to a dedicated channel.

Finally run an SDAPI script (sample are in the MCMS documentation) to export
the channel into an SDO file.

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
----------------------


<fmakopo@investec.co.za> wrote in message
news:1150989996.098439.308860@g10g2000cwb.googlegroups.com...
> Hi Stefan
> I am new to cms can you please explain more of what must i do.
> If possible can you give an example of what must i do or source code.
> Stefan [MSFT] wrote: 
>







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 04:33 AM.      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