Welcome to the #dominoforever Product Ideas Forum! The place where you can submit product ideas and enhancement request. We encourage you to participate by voting on, commenting on, and creating new ideas. All new ideas will be evaluated by HCL Product Management & Engineering teams, and the next steps will be communicated. While not all submitted ideas will be executed upon, community feedback will play a key role in influencing which ideas are and when they will be implemented.
For more information and upcoming events around #dominoforever, please visit our Destination Domino Page
It would be much more performant without that lenghty workaround!
>>set doc = view.GetDocumentByKey("yourCategoryValue", True) 'get the first doc under your category
>>set vnav = view.Createviewnav() 'build a view navigator for the entire view
>>set ve = vnav.Getentry(doc) 'get the view entry correspoding to doc
>>set vecat = vnav.GetPrevCategory(ve) 'now access the category entry itself
A bit of a late answer, I know. But you can do that already using a NotesViewNavigtor, as in
(assuming you already have a view object)
set doc = view.GetDocumentByKey("yourCategoryValue", True) 'get the first doc under your category
set vnav = view.Createviewnav() 'build a view navigator for the entire view
set ve = vnav.Getentry(doc) 'get the view entry correspoding to doc
set vecat = vnav.GetPrevCategory(ve) 'now access the category entry itself
Moving idea to product : Domino Designer
Even in Java and SSJS