I am wondering if anyone out there has tried to use the TreeView control in a Notes form? I have a need for something like the Listbox field, with the ability to create a hierarchy and without the 32k size limit.
I considered using an Outline, but this needs to be generated on the fly and is in a database that is shared by multiple users, so I’m worried that if two users are using the database at the same time, one will see the outline that was generated for the other.
You could hide an outline by using the hide-when property with the correct formula. But I would not suggest that you create many outlines in yuor db, because it will be hard to get rid of them.
Unfortunately, using Hide-When’s is not a real solution to what I am trying to do. What I am trying to do is present the user with a list of views / folders in their mail file. Once they select one, then I will be displaying that view / folder for them to select documents out of.
I had implemented the list of views / folders using a listbox, but with the 32K limit, I’m stuck if the user has a lot of folders and / or folders with long names.
And since no two e-mail databases have the same set of views / folders, I can’t generate an outline and use Hide When formulas.
Since a mail file is able to show all folders and views in the left pane, I suggest that you have a look how it is implemented in the mail-template. Be aware that there are quite a bunch of nested framesets involved before you reach the one you will be looking for.
If you create a Default outline, there will be entries for “Other views” and “Other folders” These entries can be copied into your outline, and will pick up any view/folders that are not explicitly referenced by existing outline entries.