Domino Code Fragment

Code Name*
Prompt User To Pick A Document To Compose
Date*
04/28/2024
Source (or email address if you prefer)*
Rlatulippe@romac.com
IP address:.18.224.44.108
Description*
This fomula prompts a user to pick from a list of available forms to create a document. When used in a button, Notes will prompt the user with a list of available forms to pick from .
Type*
Formula
Categories*
(Misc)
Implementation:
Required Client:
Server:
Limitations:
Comments:
FormName1 - FormName5 represent the name of the form used to create the document. Replace these names with the names of your forms. Use a colon (:) to seperate each entry.
Files/Graphics attachments (if applicable): Code:
REM "Set a temporary value called Choice to the value the user selects from the available list";
Choice := @Prompt([OKCANCELLIST]; "Initiate"; "Please select one of the following:"; ""; "FormName1": "FormName2": "FormName3":"FormName4": "FormName5");

REM "Composes a document based on the value selected for Choice";

@PostedCommand([Compose]; Choice)