• Is there any way to return a different column value/number on Names Picker?

    By P Solano 1 decade ago

    I'm trying to get names sorted by LastName and not by FirstName.



    I'm using dominoViewNamePicker as dataProvider instead of dominoNABNamePicker; so I can now enter the following properties:



    databaseName = names.nsf

    labelColumn = $17

    viewName = People



    Everything works fine until here since I can search now by

    LastName , FirstName, but, once I select the value I want, It always returns the first sorted column.



    Is there any way to specify the column name or column number I want to return? Any not exposed property?



    Thanks in advanced

    • You can use the regular NAB provider

      By Philippe Riand 1 decade ago

      It has an option to sort the entries by last name. See the sample database.

      • Which release has this new property?

        By P Solano 1 decade ago

        Thanks Philippe for quick response.



        I'm still running 8.5.2.201104090234NTF release of ExtLib due server cycle releases.



        Was this option added to a new release? I can't see this property on my version.



        Thanks

        • Yours is too old...

          By Philippe Riand 1 decade ago

          You should move to the latest one. I bet the 852 release has it - Give it a try :-)

          • dominoViewNamePicker

            By Michael Ulrich 1 decade ago

            But is there a possibility to use a specific column? I can define a column for the label but the not the return value? Everything together in one view would be optimal.

            • The value is the key

              By Philippe Riand 1 decade ago

              It is required as the values must be sorted and accessed by keys using getEntriesByKey()