Skip to main content

Macros Page

In the Macros page, you can review and manage the macros to which you have access.

A macro is a saved sequence of one or more recipe steps that can be reused in other recipes. Values in your macros can be parameterized. For more information, see Overview of Macros.

MacrosPage.png

Figure: Macros Page

To review specifics about the macro, click its name. See Macro Details Page.

Columns:

  • Name: Name of the macro.

  • Used in: Count of flows and recipes in which the macro is used.

  • Last Updated: Timestamp for when the macro was last modified.

Actions:

  • Import Macro: Click to import a macro that has been exported to your local desktop. For more information, see Import Macro.

  • Get Macros: Explore and download macros from Wrangle Exchange.

  • Search: Enter a string in the search box. The list of macros is updated in real-time.

  • Sort: Click the caret next to any column head to sort the list based on the column.

  • Context Menu: See below.

Context menu options:

  • Edit: Modify the name and description for the macro. You can also modify the name, description, and default values for the macro's inputs.

  • Inspect: Review the recipe steps in the macro.

  • Export: Export the macro to your local desktop. For more information, see Export Macro.

  • Replace: Replace an existing macro definition with a macro that you have exported to your local desktop.

    Note

    If your imported macro contains macro inputs that are not in the macro that you are replacing, the existing instances of the replaced macro contain a broken step where the macro is referenced but has no data. These references must be fixed in each macro instance.

    Tip

    If you must add more macro inputs or steps to a macro that you have imported, you must convert the macro to steps, modify them, and then perform a replacement. For more information, see Create or Replace Macro.

  • Transfer ownership: (Available to owner or admin only) Transfer ownership of this asset to another user.

    Note

    After a macro is transferred, the original owner no longer has collaborator access to the macro, since macros cannot be shared.

    See Transfer Asset Ownership.

  • Delete: Delete the macro.

Note

When a macro is deleted, in any recipe that references it, the macro's steps are expanded into regular recipe steps. Any macro inputs are applied as static values in the expanded recipe steps.

Warning

Deleting a macro cannot be undone.