#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

Introduce a "Key-Value pair" datatype with Sorting and duplication handling in LotusScript

Currently LotusScript has list datatype which can act as key-value element to hold and manipulate the values. But limitation on list is is cannot handle the duplication of elements, neither it can sort. Introduce a dedicated datatype which will be for Key-Value pairing with sorting and duplication handling. 

  • Guest
  • Apr 8 2019
  • Under Consideration
  • Attach files
  • Guest commented
    5 Jul, 2019 06:40am

    I found a nice sorting module, small and easy to use:

     

    sort (firstBy().thenBy().thenBy())

     

    https://github.com/Teun/thenBy.js/tree/master

     

    const firstBy = require('thenby');
     
    docs.sort( firstBy("Index", {ignoreCase:true}).thenBy("DocTitle",-1));
     
     
  • Guest commented
    9 Apr, 2019 07:03am

    I agree to the sorting part but duplicate entries is handled in the list because you can only have one entry with a certain key. Also a function to get All list key tags /values as array