PickListStrings (NotesUIWorkspace - LotusScript®)

Creates a string array from a list selected by the user.

  • The first form of the method displays the Names, Rooms or Resources dialog box for a Domino® Directory.
  • The second form allows you to customize a list of documents from any database.
Note: This method is new with Release 5.

Defined in

NotesUIWorkspace

Syntax

stringArray = notesUIWorkspace .PickListStrings( type% [, multipleSelection ] )

stringArray = notesUIWorkspace .PickListStrings( type% [, multipleSelection ], server$, databaseFileName$, viewName$, title$, prompt$, column% [, categoryname$ ] )

Parameters

type%

Integer. The type of view that you specify. The legal values for this parameter are as follows:

PICKLIST_NAMES (0)

Displays the names dialog box. Can only be used in the first form of the method.

PICKLIST_ROOMS (1)

Displays the rooms dialog box. Can only be used in the first form of the method.

PICKLIST_RESOURCES (2)

Displays the resources dialog box. Can only be used in the first form of the method.

PICKLIST_CUSTOM (3)

Displays the dialog box for the view that you specify. Can only be used in the second form of the method.

multipleSelection

Boolean. Optional. Specify True if you want to select multiple documents. Defaults to False.

server$

String. Name of the server where the database resides.

databaseFileName$

String. The filename of the database that contains the view.

viewName$

String. Name of the view that you want displayed in the dialog box.

title$

String. Title for the dialog box.

prompt$

String. The prompt that you want to appear inside the dialog box.

column%

Integer. The column value that you want returned.

categoryname$

String. Optional. Displays the specified category in the view. The view should be categorized in order to use this parameter.

Return value

This method returns a variant containing a string array if you click OK, or it returns EMPTY if you click Cancel.

Example