Define Object Attributes for Macros

Explanation

This activity is used to define object types for macros. The selected attributes from these object types will be available for use in the macro code. Custom fields and even alternative database views for a certain object type, are supported.

Prerequisites

To perform this activity, the object you wish to define should be made document-aware.

System Effects

As a result of this activity, it will be possible to use attributes of these object types when writing macros.

Window

Macro Basic

Related Window Descriptions

Macro Basic
Macro Basic/Object Attributes for Macros

Procedure

  1. Open the Macro Basic window.
  2. Click the Object Attributes for Macros tab.
  3. Create a new record (F5).
  4. Enter a value in the Object Type field. Use the List of Values to select a suitable value.
  5. Enter a value(s) in the Attributes field. Use the List of Values to select a suitable value.
  6. Optionally, enter an alternative view name in the Alternative View Name field. It should be a view name that includes all the keys of the selected object type but which can have different attributes than the base view has. If there are custom fields added to the object, the custom field view can, but does not have to be added here. It will be used automatically, if it exists (e.g. for the object type DocFolder, if there is a view named doc_folder_cfv, it will be used). If an alternative view name is set here, it will override any custom field view for the object.
  7. Save the record (F12).