Page tree

Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space DEV and version next


  1. In the Recipe panel, select the step or steps to include in your macro. 


    NOTE: Source steps from your recipe do not have to be consecutive. In the macro, steps are listed in the order in which they appear in the recipe.

  2. From the recipe toolbar context menu, select Create or replace macro


    NOTE: The dialog name and options vary based on the selection of create or replace macros.

  3. From the drop-down, select Create a macro. Enter a Name and an optional Description.


    NOTE: The Name of the macro appears in the 

    D s webapp
    . Please verify that the Name is unique.

  4. Click Next.

  5. In the Create macro dialog, you can review the selected steps and the inputs for the macros:

    D caption
    Create macro inputs
  6. For each step in the macro:
    1. Left column: Select the step.
    2. Middle column: For the selected step, review the values that were specified for the step in the original recipe. 
    3. Right column: As needed, you can provide values for the currently selected inputs from the middle column. For a selected value, you can choose to create a new input or use an existing input. 
  7. You can review the macro inputs separately in the Inputs tab. For more information, see "Define macro inputs" below.
  8. When you have finished specifying your macro and its inputs, click Create.
  9. The macro is created. 
  10. In the recipe location where you created it from, the steps from which you created your macro are replaced with an Apply transformation step that references your macro name.



NOTE: This operation converts the selected instance of the macro to a set of steps. It does not modify the definition of the macro. If preferred, you can delete the macro from the Macros page, which forces all instances of the macro in the workspace to be automatically converted to steps. For more information, see Macros Page.

Replace Macro

To modify the steps in your macro, you must perform a replacement of all steps in the current definition.


  1. Export a macro definition to your desktop.
  2. In the Macros page, find the macro whose steps you'd like to replace with a macro that you've exported to your desktop. From its context menu, select Replace.
  3. You may need to remap macro inputs in the imported steps to the existing references. See "Update macro inputs" below.

For more information, see Macros Page.

Replace macro with steps

The following method can be used to replace a macro definition with steps that you have created in a recipe.



Tip: You can see the raw

D s lang
for your macros in the Macros page in the Library. For more information, see Macros Page.

Apply Macro

You can use macros that you have created in other recipe locations. See  Apply a Macro.


You can manage macros through the Library page. See  Macros Page . 

D s also
label(label = "macro")