Pasting Macro in Map or Process
To use a macro in a map or a process:
1. Right-click within a macro enabled text box.
2. Select Paste Macro.
The Paste Macro dialog is displayed.
3. Select any of the following options to filter the macros based on the macro type:
• Configuration Macros - Displays macros that are added on the
Configuration tab within a Map or Process. For more information,
Configuring Local Macros.
• Project Macros - Displays macros added for a project in
Macro Set References or
Properties > DataConnect > Macro Sets. For more information, see
Adding Project-level Macro Sets.
• Workspace Macros - Displays macros added for a workspace from the macro definition file. For more information, see
Macros.
4. Select the required macro and click OK or double-click on the required macro.
The macro is added in the $(<macro-name>) format within the text box, where <macro-name> is a macro name.
When you select and paste a macro from Workspace Macros list, it is added to the configuration macros in the Paste Macro dialog. Also, the selected macro is displayed in Map > Configuration tab > Macros section.
Last modified date: 10/22/2024