Develop > Tailoring > Advanced functions > Scripting > Execute a script from a displayoption

Execute a script from a displayoption

  1. Determine the screen ID of the form for which you want to define the option.
  2. Open a blank displayoption record using one of these methods:
    • Type do in the command line and press Enter.
    • Type displayoption in the Form field of the Database Manager dialog box.
    • Click Tailoring > Tailoring Tools > Display Options.
  3. In the Screen ID field, type the screen ID for the form.
  4. Click Search.

    The displayoption records for that form are listed.

  5. Scan the list of options to determine an available number for your new option.

    Remember: Option numbers < 200 appear as buttons in the toolbar, and option numbers > 200 appear as Options menu items.

  6. Create the record from scratch or modify an existing record.
  7. Type script.execute in the RAD Application field and enter the following values:

    NameValue
    file$L.filed
    nameName of the first script panel in the flow

  8. Click Add.

Related concepts

Scripting
Executing scripts
Executing a script from displayoption