I have a view that has 3-4 levels of categorization. I am trying to write a script that will create a Notesviewnavigator for a certain category set. Is it possible to pass a category array to the View.CreateViewNavFromCategory method, like we do in GetDocumentByKey??
Thanks,
Payal
Subject: I don’t think it works that way, but…
I don’t think that method can be used for an array of objects, but you might be able to do things that work similarly.
First, if everything was a subcategory of one category, it would be easy. If you could create values that combined some of the subcategories, like “BreadWater” for everything that was either “Bread” or “Water”, you’d have a category that contained all of them. That gets tough if you have more than a couple of subcategories, since you’d have to figure out what combinations were possible or likely.
I wonder if you could do this:
dim nvnav List As NotesViewEntryCollection
Then you could have a dynamic array of NVECs… Setting each one with a ListTag that is the category name you want.
Or build a NotesViewEntryCollection…
I don’t know. I haven’t worked with those at all
Hope this helps,
Dave
Chub Toad, LLC