Allows a user to pick the documents of granted ones for a source document. Differs from the functions DEpickC4D and DEpickD4D that the documents for the picking are granted into the function but don't get by using it.

Syntax

DEpickDocs( D4Dname$, srcDoc, showEmpty, multi, prompt$, trgDocs )

Arguments

D4Dname$ - string, input. The name of a DocExt\DocForDoc config's item with which the granted documents should be picked by a user. Read more about this name in the help topic - DocExt\DocForDoc config. To use several configs items at the same time you should type their names through a space.

srcDoc - NotesDocument, input. A source document for the DocExt\DocForDoc config's item.

showEmpty - boolean, input. even no documents were granted for the picking, the view will be also displayed.

multi - boolean, input. The value True (-1) means that more than one document can be picked a user.

prompt$ - string, input. A text which should be displayed at the picking. For example - describe why the picking is being done.

trgDocs - NotesDocument List, modified. Into the function is given the documents list which a user should make a choice of. If a user has picked documents from the list, the list of the granted documents will be replaced with the list of picked ones.

Return

Boolean. The value True (-1) means that at least one document has been picked by a user and False (-1) if not.

Configs used

DocExt\DocForDoc.


Topic links:

DocExt\DocForDoc config

Function DEpickC4D

Function DEpickD4D

See also:

Functions of the library DocExtLib