Action defaults / Usage |
Action defaults can be defined at the form level in the ACTION DEFAULTS section. When action defaults are defined in the form file, action views get the attributes defined locally.
You can also load form action defaults dynamically with the ui.Form.loadActionDefaults() method. This method accepts a filename with or without the 4ad extension. If you omit the file extension (recommended), the runtime system adds the extension automatically. If the file does not exist in the current directory, the directories defined in the FGLRESOURCEPATH (or DBPATH) environment variable are searched.