Hi, I’m wondering if someone can point me in the right direction on this.
I need to create about 500 folders in a Notes mail database for testing. Each folder has to contain at least one message or document of some kind.
As you might guess, doing this by hand is beyond tedious, and 500 is a really big number when you start looking at it that way. What I’d like to do is create an agent that can quickly copy messages into new folders, maybe activated by a button or something. I’m not sure how to do this, however, and my efforts so far have been unsuccessful. I will confess that I haven’t had much experience with agents, so it could be that I’m missing something simple here.
Does anyone have any suggestions?
Thanks in advance
Brian VanBogart
Subject: RE: Need to create 500 folders
Use the PutInFolder method – if you give it the name of a non-existing folder it should create one with the default design.
Subject: RE: Need to create 500 folders
Can you actually have 500 folders in a database?
Subject: RE: Need to create 500 folders
I wouldn’t normally advise it, for usability and performance reasons, but I don’t know of any specific limit. It probably wouldn’t be a bad idea to investigate using a categorized view instead – at least you can use the view quick search then to quickly find the category you want.
Subject: RE: Need to create 500 folders
There indeed IS a limit of about 200 folders. Just search for “limits” in this forum and you’ll find a knowledge base article listing the various limits.
HTH
Subject: RE: Need to create 500 folders
Thank you for your responses. I ended up doing it all manually due to the fact that I was under a fair amount of pressure to get it tested and I couldn’t figure it out by the end of that day.
For the record, I ended up creating almost 550 folders and did not hit any limitations. Every folder had one message in it.
I basically just made 500 copies of one email, then copied each to a new folder. I never did discover a way to quickly do this without manually creating the folder and moving the message. I’d have to say Notes is downright clunky when it comes to this kind of thing.
Thanks again for your responses.
-Brian
Subject: RE: Need to create 500 folders
You’re acting like you were told it couldn’t be automated. I told you how to do it in LotusScript in my first response. If you weren’t willing to spend a few minutes looking up PutInFolder in the Domino Designer help and checking out the examples there, but instead preferred to spend hours doing it manually, then please don’t blame Notes for it.
Clunky, indeed.