Create Outlook Public Folders to match File Structure?

K

kristy

Hi

I have a customer who wants to create, update and maintain Public
folders based on their "file" data structure. For example, if they
file client information under C:\Area Name\Company Name\Client
Name\Project Number then they want to make sure that the public folders
have been created for objNamespace.Folders("Public
Folders").Folders("All Public Folders").Folders("Area
Name").Folders("Company Name").Folders("Client Name").Folders("Project
Number")...

I have been trying to figure out the best/quickest way to do this and I
just can't get my head around it... any advice would be greatly
appreciated.

This is what I've got so far... I use a recursive function to get the
names of all the folders currently under the specified directory, I can
then use PickFolder to get the public folder location that I need to
sync from, using another recursive function I can get a list of all the
current folders under that parent folder but I'm not sure what is the
best way to check/compare these results and then create the folders if
required.

Any suggestions... there could be hundreds of folders so although
they'll probably only run it once a day it needs to be able to handle
lots of folders without having any memory leak, crashing issues???

Thanks

Kristy
 
H

Helmut Obertanner

Hello Kristy,

i would save Public Folder structure Information into a DataBase, so you can
compare it fast with your local filesystem.

with a linked sql server and a stored procedure, you can maintain the
structure in DataBase.

Maybe this could help you, just an Idea.
Greets, Helmut Obertanner
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top