MaxL Script Editor and MDX Script Editor provide an auto-completion feature that helps you build MaxL and MDX statements interactively as you type. When you start typing text in the editor, a list of possible keywords is displayed. After you select the appropriate keyword and press the spacebar to continue, successive drop-down lists are displayed.
For example, in MaxL Script Editor, if you type “d” in the script area, you are prompted to select from a list of possible MaxL keywords: "display" and "drop." If you select "display," press Enter, and then press the spacebar, you are prompted to select from a list of additional keywords for "display" (for example, "application"). If you select "application," press Enter, and then press the spacebar, you are prompted to select from a list of possible values for "display application" (a list of all applications on Essbase Server).
For MaxL scripts only, you can also enable GUI help with the auto-completion feature. When GUI help is enabled with auto-completion, MaxL Script Editor launches the appropriate GUI component for the MaxL statement that you are typing. For example, if you are typing the create filter statement, Filter Editor is launched to help you complete the filter creation statement in a GUI environment.
To use auto-completion in MaxL Script Editor or MDX Script Editor:
Right-click and select Set options.
In the Options dialog box, select the MaxL Editor tab or the MDX Editor tab, as appropriate.
In the Editor option group, select Enable auto-completion.
For MaxL scripts, if you want to use GUI components to help you write MaxL statements, select Enable GUI help with auto-completion.
Click Apply to save the settings.
Click Close to close the dialog box.
In the script editor, type text and select the appropriate keywords from the drop-down lists, as necessary. For MaxL scripts, you can also select actual values, such as an application or database name.
To display subsequent drop-down lists, press the spacebar between words. To close a list, press the Esc key.
For MaxL scripts, if a GUI component is launched as you type, enter the appropriate information and close the component.
The information that you entered is translated into a corresponding MaxL statement.