Dynamic UI Macros

The following tables provide lists of macros used in the configuration parameters of the administrative menu and command objects. These menu and command objects are used for configuring the Menus/Trees/Actionbars in the apps that use them. These are the only macros currently supported for use in any dynamic UI component.

This page discusses:

Directory Macros

The following table provides the list of directory specific macros used in the configuration setting.

Directory Macros
Macro Name Description

COMMON_DIR

To substitute the "common" directory below "ematrix" directory. The substitution is done with reference to any application-specific directory and it is relative to the current directory.

ROOT_DIR

To substitute the "ematrix" directory. The substitution is done with reference to any application- specific directory below "ematrix" and it is relative to the current directory.

SUITE_DIR

The macro to substitute the application-specific directory below "ematrix" directory. The substitution is done based on the "Suite" to which the command belongs and it is relative to the current directory.

Object Property Macros

The following table provides the list of Object specific macros supported by the dynamic UI components.

Object Property Macros
Macro Meaning

${TYPE}

This will substitute the type name of the current business object.

This Macro is currently used only in configuration of the Label for Root tree node. The tree type must be associated with a business object and require a valid business object id to process the macro substitution.

${NAME}

This will substitute the name of the current business object.

This Macro is currently used only in configuration of the Label for Root tree node. The tree type must be associated with a business object and require a valid business object id to process the macro substitution.

${REVISION}

This will substitute the type name of the current business object.

This Macro is currently used only in configuration of the Label for Root tree node. The tree type must be associated with a business object and require a valid business object id to process the macro substitution.