User Guide > Managing Macro Sets and Macros > Macro Sets > Adding Project-level Macro Sets
Was this helpful?
Adding Project-level Macro Sets
Before adding project level macro sets, make sure that the macro sets with the required macros are available in the macro definition file for the workspace. These are for design-time only and the list is stored in the .prjmetadata file in the project workspace location. If required, this file can be copied to other projects.
Note:  
- By default, the GLOBAL macro set is added to a project.
- If you add a macro set to a project it will be available only to a new map, process, or data profile. The macro set is available on the Configuration tab > Macros section in the map.
To specify a macro set for a project:
1. In Project Explorer, right-click the project for which you want to specify the macro set.
2. Click Macro Set References or click Properties.
The Properties for <project name> dialog is displayed.
3. If you had clicked Properties, then expand DataConnect and click Macro Sets.
To view all macros from all macro sets that are relevant to the map or process, click <All> in Macro Sets section.
Two sections are displayed, Macro sets on the left side, and Macros on the right side.
4. In Macro Sets, click .
The Select Macro Sets dialog displays a list of all macro sets available for the workspace.
5. From the Workspace MacroSets section, click the macro set that you want to specify for the current project and click .
To specify more that one macro set, press Ctrl, select the macro sets, and click . You can also click to select all the macro sets available in the workspace. The selected macro sets are moved to Selected Macro Set section.
Note:  You cannot move or remove the GLOBAL macro set.
6. Click OK to close the Properties for <project name> dialog.
The selected macro sets and the macros are displayed.
7. To reorder the priority of the macro sets, in the Macro Sets section, click to move the macro set up or click to move the macro set down.
Note:  You cannot reorder the <All>, LOCAL, and GLOBAL macro sets.
8. Click Apply and Close.
Last modified date: 07/26/2024