Page tree


Our documentation site is moving!

For up-to-date documentation of Dataprep, please visit us at


As needed, you can export a macro from Dataprep by Trifacta Cloud. An exported macro is stored in a JSON file that contains all of the information required to use the macro in any instance of the product.

NOTE: Only the creator of a macro can export it.

Exported macros can be imported into the same system or different systems. Macro export is useful for:

  • Backups of work in progress

    You cannot import macros into an earlier release of the product.

  • Archiving of completed development work
  • Migrating macros from one instance to another



  1. From the left navigation bar, select Library for Data.
  2. In the Library for Data page, click Macros.
  3. In the Macro page, locate the macro that you wish to export. In its context menu, select Export.
  4. The JSON file is downloaded to the default download location on your local desktop.

When you import a macro, you import this JSON file. 

Export via API

You can export macro definitions using the APIs.

Tip: This method is useful for publishing macro definitions across all deployments in your organization.

For more information, see Dataprep by TrifactaAPI Reference docs

See Also for Export Macro:

This page has no comments.