During M2Doc report generation, if you would like to prompt the user to select an option or enter some information, you can do this with prompt service.
Table 17.1: Supported Input for Prompts
| Input Type | Function |
|---|---|
| String | promptString() |
| Integer | promptLong() |
| Long | promptInteger() |
| Float | promptFloat() |
| Double | promptDouble() |
| Element |
|
| Option | promptOption() |