User Guide > Managing Macro Sets and Macros > Macro Definition Files
Was this helpful?
Macro Definition Files
A macro definition file is a collection of macro sets and within a macro set are macros. Any new macro set or macros that you create are also saved in this file. The default macro definition file name is MacroDef.json and its default location is:
C:\Users\<username>\Actian\DataConnect\workspace\.
You can choose to have one macro definition file for all workspaces or have one macro definition file per workspace. The macros in this file can be referenced by any project or artifact in the workspace.
The supported file formats are:
XML
For backward compatibility with Data Integrator v9.
Only one GLOBAL macro set is allowed.
Encryption is not supported.
JSON
New macro definition files are created in JSON format.
Allows duplicate macro names if the macros are in different macro sets. The usage of the duplicate macro depends on the order of the macro sets listed in the runtime Configuration tab of a map or process.
Encrypted macros and macro sets are only supported in JSON format files. If you add any of these to an XML macro definition file, you must save it as JSON format.
Last modified date: 02/09/2024