#dominoforever | Product Ideas Portal

 

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

New LS method "notesView.GetCategoryEntryByKey"

Set notesViewEntry = notesView.GetCategoryEntryByKey( key [, exactMatch% ] )

 

This would give the great benefit, to access the total columns of a view category row (a ViewEntry with IsCategory = True).

 

Example:

Think about a view, with categories and documents below, with numbers to be summed up.

The total value of all documents below a category can be read within the category ViewEntry.

This value already exists within the view index - nothing needs to be summed up or calculated - the result is already there.

But unfortunately we have no LS command to get it!

 

Mark Reiser, sirius-net GmbH

 

LotusScript, Script, LS

  • Avatar32.5fb70cce7410889e661286fd7f1897de Guest
  • Jul 25 2018
  • Needs review
  • Attach files
  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    26 May 01:11pm

    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

  • Admin
    Thomas Hampel commented
    27 Oct, 2018 09:36am

    Moving idea to product : Domino Designer

  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    26 Jul, 2018 09:16am

    Even in Java and SSJS