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
- Open the
Macro Basic window.
- Click the Object Attributes for Macros
tab.
- Create a new record (F5).
- Enter a value in the Object Type field. Use
the List of Values to select a suitable value.
- Enter a value(s) in the Attributes field.
Use the List of Values to select a suitable value.
- 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.
- Save the record (F12).