Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Outlook and VBA (http://www.outlookbanter.com/outlook-vba/)
-   -   archiving msgs in public folder w/ redemption (http://www.outlookbanter.com/outlook-vba/9276-archiving-msgs-public-folder-w.html)

[email protected] March 23rd 06 04:57 PM

archiving msgs in public folder w/ redemption
 
I'm looking for a best practice method to solve the following:

I have a public folder with ~12K msgs in it. A web application that I
use stores the EntryIDs of each of those messages so that users can
call up the message in Outlook from the web app via the
"outlook://entryid" link format.

I need to archive the msgs in this folder by year by setting up
subfolders for each year off the root, but I can't just move the msgs
manually or all the EntryIDs will change and the links in the web app
will be lost.

So I'm going to write a quick C# app to access the folder, find what I
need to move, move them 1 at a time and update the EntryIDs in the DB
after the move is made and the new EntryID is available.

So I just downloaded the new version of Redemption and noticed the new
RDO objects, last time I worked with it, these were not present. I'm
wondering if I can use the RDOSearchFolder object to quickly "find" all
the messages from a given year, then do the move operation based on the
results. Do SearchFolders even work in Public Folders?

Any ideas would be helpful.. thanks!


Dmitry Streblechenko March 23rd 06 08:19 PM

archiving msgs in public folder w/ redemption
 
Search Folders are not supported by the Public Folders store provider
(unlike PST and primary EX store providers), but you should still be able to
restrict the folder contents table on the created or last modified dates.
You can do that using either OOM (Items.Restrict) or Redemption
(http://www.dimastr.com/redemption/mapitable.htm).

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

wrote in message
oups.com...
I'm looking for a best practice method to solve the following:

I have a public folder with ~12K msgs in it. A web application that I
use stores the EntryIDs of each of those messages so that users can
call up the message in Outlook from the web app via the
"outlook://entryid" link format.

I need to archive the msgs in this folder by year by setting up
subfolders for each year off the root, but I can't just move the msgs
manually or all the EntryIDs will change and the links in the web app
will be lost.

So I'm going to write a quick C# app to access the folder, find what I
need to move, move them 1 at a time and update the EntryIDs in the DB
after the move is made and the new EntryID is available.

So I just downloaded the new version of Redemption and noticed the new
RDO objects, last time I worked with it, these were not present. I'm
wondering if I can use the RDOSearchFolder object to quickly "find" all
the messages from a given year, then do the move operation based on the
results. Do SearchFolders even work in Public Folders?

Any ideas would be helpful.. thanks!





All times are GMT +1. The time now is 12:59 PM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com