Skip to Main Content
HCL Domino 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

145 VOTE
Status Assessment
Workspace Notes
Created by Guest
Created on Jul 17, 2018

Select all documents in category

In categorized view, ability to select all the documents in category by selecting the category.

  • Attach files
  • Guest
    Reply
    |
    Sep 8, 2022

    I need a similar capability. With respect to


    "Isn't that already implemented by using the CreateViewNavFromCategory or GetAllViewEntriesByKey or GetAllDocumentsByKey?


    Sure it needs a little coding by using the NotesViewNavigator. But on using the NotesViewEntryCollection or the NotesDocumentCollection you only need to disable Autoupdate on the NotesView to avoid "no longer in view" errors."


    the problem is


    NotesViewNavigator lets me walk through the NotesEntry objects of a view in various ways (using GetNext, GetNextCategory, GetNextSibling, etc. which return the next NotesViewEntry in the view). However, NotesViewNavigator works on NotesView not NotesUIView, so it is a backend class that has no information about what the user is doing in the UI (and that's why it doesn't have an option such as "GetNextSelected").


    And, since NotesNavigator is a backend class, all the NotesEntry objects it returns are also backend objects and that's why the NotesEntry class has properties such as IsCategory, IsDocument, etc. but no "IsSelected" property.


    The difference between this enhancement and what I need, is the enhancement wants the user to select one or more category rows and get all docs under each category only in the UI using a UI keystroke where as I need _selected_ categories and _selected_ documents via programatic control. The problem with the enhancement as described, is just documents are returned without being grouped by category if more than one cateogry is selected. This comes back to the limitation described above, there is programatic access to determine what category or categories the user selected in the UI. Once that is implemented, then views can be processed in many other useful ways, including the original enhancement request, or mine, which is not to get all the docs in the selected categories, but only _selected_ documents in the selected categories and the category names, all in the exact order they appear in the view using LotusScript (preferably) or the C-API.


    In the Notes UI, Edit\Copy as ...\Table, already does this.


    What I need, therefore, is to be able to process all NotesViewEntry objects (i.e. documents, categories, replication conflicts, etc.), and not just NotesDocuments, that a user has selected in a view in the UI, in the same order they appear in the view, so I can process each item selected based on its NotesViewEntry properties, such as IsCategory, IsDocument, IndentLevel, ColumnIndentLevel, etc. using, as mentioned, Lotusscript (preferably) or the C-API.

  • Guest
    Reply
    |
    Feb 16, 2022

    I need this function, when I've a view with categories I'd like to select a entery category instead of selecting 1 by 1 because 1 category can have hundreds documents. It would be fantastic select several categories and with this button select all documents of the categories that I selected.

  • Guest
    Reply
    |
    Feb 7, 2019

    This would be a very useful feature when used from the UI.

  • Guest
    Reply
    |
    Jan 28, 2019

    Well we already build an action using the mentioned functions, but to select them in the ui that way is with increasing amount of documents really bad for performance.

    A fulltext search would also be possible, but a lot of users aren't quite familiar with the search syntax and no matter how often you explain it they still don't get it. Another Problem is, that the user themselves don't know the name of the field that is used for categorizing

  • Guest
    Reply
    |
    Dec 4, 2018

    Or you could do a fulltext search on the categorized field :-)
    Like ->   [Category] = "Value"

  • Guest
    Reply
    |
    Aug 1, 2018

    Isn't that already implemented by using the CreateViewNavFromCategory or GetAllViewEntriesByKey or GetAllDocumentsByKey?

    Sure it needs a little coding by using the NotesViewNavigator. But on using the NotesViewEntryCollection or the NotesDocumentCollection you only need to disable Autoupdate on the NotesView to avoid "no longer in view" errors.

21 MERGED

Add ALT-CTRL-A to select all documnts in a category in a categorised view

Merged
Simple, useful
about 6 years ago in Notes 0 Assessment